(dbxout_symbol): Give name ` ' to unnamed enums.

From-SVN: r2709
This commit is contained in:
Richard Stallman 1992-11-07 03:56:24 +00:00
parent fe0035ffbb
commit a63067c248
1 changed files with 3 additions and 1 deletions

View File

@ -1542,7 +1542,9 @@ dbxout_symbol (decl, local)
current_sym_addr = 0;
current_sym_nchars = 2;
fprintf (asmfile, "%s \":T", ASM_STABS_OP);
/* Some debuggers fail when given NULL names, so give this a
harmless name of ` '. */
fprintf (asmfile, "%s \" :T", ASM_STABS_OP);
dbxout_type (type, 1, 0);
dbxout_finish_symbol (NULL_TREE);
}