Waldek Hebisch wrote:
The following works for me:
diff -ru gcc-3.3.2.orig/gcc/dbxout.c gcc-3.3.2/gcc/dbxout.c --- gcc-3.3.2.orig/gcc/dbxout.c Fri Oct 31 21:23:40 2003 +++ gcc-3.3.2/gcc/dbxout.c Sat Nov 1 00:08:30 2003 @@ -1375,7 +1375,7 @@ fputs ("@s", asmfile); CHARS (2); print_wide_int (BITS_PER_UNIT * int_size_in_bytes (type));
fputs (";-20;", asmfile);
CHARS (4); } elsefputs (";-20", asmfile);
@@ -1397,7 +1397,7 @@ fputs ("@s", asmfile); CHARS (2); print_wide_int (BITS_PER_UNIT * int_size_in_bytes (type));
fputs (";-16;", asmfile);
CHARS (4); } else /* Define as enumeral type (False, True) */fputs (";-16", asmfile);
Thanks. Works for me too, also on gcc-3.2, gcc-2.95 and (similarly) gcc-2.8.1 (I can provide a patch for the latter if anyone is interested).
BTW, is it only these two places, not e.g. the line fprintf (asmfile, ";0;%d;", TREE_UNSIGNED (type) ? 255 : 127); (in case CHAR_TYPE) or the line fputs (";0;", asmfile); (in case REAL_TYPE)? I can't really read stabs, so I don't know where there must be a semicolon.
Frank