aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarfread.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-11-30 04:46:50 +0000
committerFred Fish <fnf@specifix.com>1991-11-30 04:46:50 +0000
commit8c6e9f05f2ba8e0211862d77b9f54f1ac7e4538d (patch)
tree8827eacdcdf5a8eb9d455025413f512a7e5375e1 /gdb/dwarfread.c
parent05b261a3348fcfc1820af7bfc39ab22af1c8db62 (diff)
downloadgdb-8c6e9f05f2ba8e0211862d77b9f54f1ac7e4538d.zip
gdb-8c6e9f05f2ba8e0211862d77b9f54f1ac7e4538d.tar.gz
gdb-8c6e9f05f2ba8e0211862d77b9f54f1ac7e4538d.tar.bz2
Add tm-i386v4.h and xm-i386v4.h to Sanitize, add i386/SVR4 to configuration
file, recognize names beginning with '.' as compiler generated "fake" tags for anonymous structures, unions and enums. Add target dependent functions for SVR4 /proc register interface (i386-tdep.c).
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r--gdb/dwarfread.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c
index fcc2f35..4fb1ddb 100644
--- a/gdb/dwarfread.c
+++ b/gdb/dwarfread.c
@@ -926,7 +926,9 @@ DEFUN(struct_type, (dip, thisdie, enddie),
}
/* Some compilers try to be helpful by inventing "fake" names for anonymous
enums, structures, and unions, like "~0fake". Thanks, but no thanks. */
- if (dip -> at_name == NULL || *dip -> at_name == '~')
+ if (dip -> at_name == NULL
+ || *dip -> at_name == '~'
+ || *dip -> at_name == '.')
{
tpart2 = "{...}";
}
@@ -1345,7 +1347,9 @@ DEFUN(enum_type, (dip), struct dieinfo *dip)
tpart1 = "enum ";
/* Some compilers try to be helpful by inventing "fake" names for anonymous
enums, structures, and unions, like "~0fake". Thanks, but no thanks. */
- if (dip -> at_name == NULL || *dip -> at_name == '~')
+ if (dip -> at_name == NULL
+ || *dip -> at_name == '~'
+ || *dip -> at_name == '.')
{
tpart2 = "{...}";
} else {