forked from Imagelibrary/binutils-gdb
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).
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user