aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-11-07 03:56:24 +0000
committerRichard Stallman <rms@gnu.org>1992-11-07 03:56:24 +0000
commita63067c24870d211f8a9398743920fc35cf71326 (patch)
tree6aec5097a045590c06f445079444aaf3be498257
parentfe0035ffbbd2fc28f7b56098f0a9286c995b2f00 (diff)
downloadgcc-a63067c24870d211f8a9398743920fc35cf71326.zip
gcc-a63067c24870d211f8a9398743920fc35cf71326.tar.gz
gcc-a63067c24870d211f8a9398743920fc35cf71326.tar.bz2
(dbxout_symbol): Give name ` ' to unnamed enums.
From-SVN: r2709
-rw-r--r--gcc/dbxout.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 94fb6ca..447546e 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -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);
}