diff options
author | Daniel Jacobowitz <drow@false.org> | 2001-12-07 22:11:51 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2001-12-07 22:11:51 +0000 |
commit | a02fd225edb13af1ba10ec58d3795b7572b46e54 (patch) | |
tree | 4a915d746f05e37c30638ef7f03ef501b9a01860 /gdb/hp-symtab-read.c | |
parent | 5178b9d60203ce67999ecad2fc5ba8a2b7b363db (diff) | |
download | fsf-binutils-gdb-a02fd225edb13af1ba10ec58d3795b7572b46e54.zip fsf-binutils-gdb-a02fd225edb13af1ba10ec58d3795b7572b46e54.tar.gz fsf-binutils-gdb-a02fd225edb13af1ba10ec58d3795b7572b46e54.tar.bz2 |
* 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/hp-symtab-read.c')
-rw-r--r-- | gdb/hp-symtab-read.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/hp-symtab-read.c b/gdb/hp-symtab-read.c index 9898cfc..57665ff 100644 --- a/gdb/hp-symtab-read.c +++ b/gdb/hp-symtab-read.c @@ -2018,6 +2018,9 @@ hpread_read_struct_type (dnttpointer hp_type, union dnttentry *dn_bufp, /* Clear the global saying what template we are in the middle of processing */ current_template = NULL; + /* Fix up any cv-qualified versions of this type. */ + finish_cv_type (type); + return type; } |