Commit 8768c655 by Richard Henderson Committed by Richard Henderson

dbxout.c (NO_DBX_FUNCTION_END): Default to zero.

        * dbxout.c (NO_DBX_FUNCTION_END): Default to zero.
        (dbxout_function_end): Remove ifdefs for it.
        (dbxout_begin_prologue): Protect N_BNSYM with it, and gdb extensions.

From-SVN: r85955
parent 201312c2
2004-08-13 Richard Henderson <rth@redhat.com> 2004-08-13 Richard Henderson <rth@redhat.com>
* dbxout.c (NO_DBX_FUNCTION_END): Default to zero.
(dbxout_function_end): Remove ifdefs for it.
(dbxout_begin_prologue): Protect N_BNSYM with it, and gdb extensions.
2004-08-13 Richard Henderson <rth@redhat.com>
* Makefile.in (insn-preds.o): Depend on TREE_H. * Makefile.in (insn-preds.o): Depend on TREE_H.
* genpreds.c (write_insn_preds_c): Include tree.h. * genpreds.c (write_insn_preds_c): Include tree.h.
* config/alpha/alpha.c (reg_or_0_operand, reg_or_6bit_operand, * config/alpha/alpha.c (reg_or_0_operand, reg_or_6bit_operand,
......
...@@ -146,6 +146,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -146,6 +146,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define STABS_GCC_MARKER "gcc2_compiled." #define STABS_GCC_MARKER "gcc2_compiled."
#endif #endif
#ifndef NO_DBX_FUNCTION_END
#define NO_DBX_FUNCTION_END 0
#endif
enum typestatus {TYPE_UNSEEN, TYPE_XREF, TYPE_DEFINED}; enum typestatus {TYPE_UNSEEN, TYPE_XREF, TYPE_DEFINED};
/* Structure recording information about a C data type. /* Structure recording information about a C data type.
...@@ -464,9 +468,7 @@ dbxout_function_end (void) ...@@ -464,9 +468,7 @@ dbxout_function_end (void)
which may be undesirable, and is unnecessary if we do not have which may be undesirable, and is unnecessary if we do not have
named sections. */ named sections. */
if (!use_gnu_debug_info_extensions if (!use_gnu_debug_info_extensions
#if defined(NO_DBX_FUNCTION_END)
|| NO_DBX_FUNCTION_END || NO_DBX_FUNCTION_END
#endif
|| !targetm.have_named_sections) || !targetm.have_named_sections)
return; return;
...@@ -761,7 +763,9 @@ dbxout_source_file (FILE *file, const char *filename) ...@@ -761,7 +763,9 @@ dbxout_source_file (FILE *file, const char *filename)
static void static void
dbxout_begin_prologue (unsigned int lineno, const char *filename) dbxout_begin_prologue (unsigned int lineno, const char *filename)
{ {
if (!flag_debug_only_used_symbols) if (use_gnu_debug_info_extensions
&& !NO_DBX_FUNCTION_END
&& !flag_debug_only_used_symbols)
fprintf (asmfile, "%s%d,0,0\n", ASM_STABD_OP, N_BNSYM); fprintf (asmfile, "%s%d,0,0\n", ASM_STABD_OP, N_BNSYM);
dbxout_source_line (lineno, filename); dbxout_source_line (lineno, filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment