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:
Fred Fish
1991-11-30 04:46:50 +00:00
parent 05b261a334
commit 8c6e9f05f2
7 changed files with 99 additions and 3 deletions

View File

@@ -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 {