diff options
author | Richard Stallman <rms@gnu.org> | 1993-02-26 23:25:55 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-02-26 23:25:55 +0000 |
commit | fcf956c038da796ddbeddad8c58f0b8aa80f75ed (patch) | |
tree | eb09b00aceab7fd1bee6489d47b2fca33581df33 /gcc | |
parent | 784a3cf0e3bc07d4da8e0efc8037e8c3672c0a05 (diff) | |
download | gcc-fcf956c038da796ddbeddad8c58f0b8aa80f75ed.zip gcc-fcf956c038da796ddbeddad8c58f0b8aa80f75ed.tar.gz gcc-fcf956c038da796ddbeddad8c58f0b8aa80f75ed.tar.bz2 |
(dbxout_type): Enable output of subrange types if use_gnu_debug_info_extensions.
(dbxout_type): Enable output of subrange types
if use_gnu_debug_info_extensions.
(dbxout_finish_symbol): Enable output of symbols line number.
From-SVN: r3544
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/dbxout.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index d9cc0c6..5542cd6 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -964,8 +964,7 @@ dbxout_type (type, full, show_arg_types) This used to use `r2' explicitly and we used to take care to make sure that `char' was type number 2. */ fprintf (asmfile, "r%d;0;127;", TYPE_SYMTAB_ADDRESS (type)); -#ifdef WINNING_GDB - else if (TYPE_PRECISION (type) > BITS_PER_WORD) + else if (use_gnu_debug_info_extensions && TYPE_PRECISION (type) > BITS_PER_WORD) { /* This used to say `r1' and we used to take care to make sure that `int' was type number 1. */ @@ -975,7 +974,6 @@ dbxout_type (type, full, show_arg_types) print_int_cst_octal (TYPE_MAX_VALUE (type)); fprintf (asmfile, ";"); } -#endif else /* Output other integer types as subranges of `int'. */ /* This used to say `r1' and we used to take care @@ -1821,10 +1819,8 @@ dbxout_finish_symbol (sym) DBX_FINISH_SYMBOL (sym); #else int line = 0; -#ifdef WINNING_GDB - if (sym != 0) + if (use_gnu_debug_info_extensions && sym != 0) line = DECL_SOURCE_LINE (sym); -#endif fprintf (asmfile, "\",%d,0,%d,", current_sym_code, line); if (current_sym_addr) |