diff options
author | Daniel Jacobowitz <dan@debian.org> | 2001-12-07 22:11:51 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2001-12-07 22:11:51 +0000 |
commit | b31a48f76d1197e7595987308d3749648ef822d5 (patch) | |
tree | d7538ebb63af0d51ff1a88cad5897af242f6edf1 /gdb/dwarf2read.c | |
parent | 7137a6c4873b0d45cb27f4d4f130a7e2c95623ed (diff) | |
download | gdb-b31a48f76d1197e7595987308d3749648ef822d5.tar.gz |
* gdbtypes.c (finish_cv_type): New function.
(check_typedef): Remove ``register'' keyword from argument.
Preserve const and volatile attributes across filling in
opaque types.
* gdbtypes.h (finish_cv_type): Add prototype.
* hp-symtab-read.c (hpread_read_struct_type): Call finish_cv_type.
* stabsread.c (read_struct_type): Likewise.
* dwarf2read.c (read_structure_scope): Likewise. Remove redundant
assignment to die->type.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index a788efbadc1..7e1e2ced152 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -2381,7 +2381,7 @@ read_structure_scope (struct die_info *die, struct objfile *objfile, TYPE_FLAGS (type) |= TYPE_FLAG_STUB; } - die->type = type; + finish_cv_type (die->type); } /* Given a pointer to a die which begins an enumeration, process all |