gdb
authorTom Tromey <tromey@redhat.com>
Tue, 2 Feb 2010 16:47:14 +0000 (16:47 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 2 Feb 2010 16:47:14 +0000 (16:47 +0000)
commit0cc2414c91dfd4d34c43b4e20e3307ab94629333
tree4386662a81d909a5ad75cf54a7c98345e0dd0c63
parentedf3d5f3f8c5adff55934e57da9cd8c874dc2a55
gdb
* m2-typeprint.c (m2_record_fields): Don't use
TYPE_DECLARED_TYPE.
* gdbtypes.h (TYPE_DECLARED_CLASS): New macro.
(struct main_type) <flag_declared_class>: New field.
(struct cplus_struct_type) <declared_type>: Remove.
<ntemplate_args>: Move earlier.
(DECLARED_TYPE_CLASS, DECLARED_TYPE_UNION, DECLARED_TYPE_STRUCT)
(DECLARED_TYPE_TEMPLATE): Remove.
(TYPE_DECLARED_TYPE): Remove.
* gdbtypes.c (lookup_union): Don't use TYPE_DECLARED_TYPE.
* dwarf2read.c (read_structure_type): Set TYPE_DECLARED_CLASS.
* c-typeprint.c (c_type_print_base): Use TYPE_DECLARED_CLASS, not
TYPE_DECLARED_TYPE.
gdb/testsuite
* gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
type-printing change.
gdb/ChangeLog
gdb/c-typeprint.c
gdb/dwarf2read.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/m2-typeprint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp
This page took 0.030113 seconds and 4 git commands to generate.