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/gdbtypes.h | |
parent | 5178b9d60203ce67999ecad2fc5ba8a2b7b363db (diff) | |
download | gdb-a02fd225edb13af1ba10ec58d3795b7572b46e54.zip gdb-a02fd225edb13af1ba10ec58d3795b7572b46e54.tar.gz 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/gdbtypes.h')
-rw-r--r-- | gdb/gdbtypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 3bc8131..de27f8e 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -1037,6 +1037,8 @@ extern struct type *make_reference_type (struct type *, struct type **); extern struct type *make_cv_type (int, int, struct type *, struct type **); +extern void finish_cv_type (struct type *); + extern int address_space_name_to_int (char *); extern char *address_space_int_to_name (int); |