aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-23 20:31:24 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-10-23 20:31:24 +0000
commitd0ed471f0913d0221115de86e279829ba81d01cb (patch)
tree95dbc037a54678ea8860cce0aaf475534afddb37
parentfc45f3fed574b7427fe7f468eb728e032a0f1e25 (diff)
downloadgcc-d0ed471f0913d0221115de86e279829ba81d01cb.zip
gcc-d0ed471f0913d0221115de86e279829ba81d01cb.tar.gz
gcc-d0ed471f0913d0221115de86e279829ba81d01cb.tar.bz2
dbxout.c (dbxout_function_decl): Don't use DBX_OUTPUT_FUNCTION_END.
* dbxout.c (dbxout_function_decl): Don't use DBX_OUTPUT_FUNCTION_END. * system.h: Poison DBX_OUTPUT_FUNCTION_END. * doc/tm.texi (DBX_OUTPUT_FUNCTION_END): Remove. From-SVN: r89496
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/dbxout.c3
-rw-r--r--gcc/doc/tm.texi8
-rw-r--r--gcc/system.h2
4 files changed, 8 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4db7c3c..972675a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2004-10-23 Kazu Hirata <kazu@cs.umass.edu>
+
+ * dbxout.c (dbxout_function_decl): Don't use
+ DBX_OUTPUT_FUNCTION_END.
+ * system.h: Poison DBX_OUTPUT_FUNCTION_END.
+ * doc/tm.texi (DBX_OUTPUT_FUNCTION_END): Remove.
+
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17967
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 077cc49..afbc2be 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -851,9 +851,6 @@ dbxout_function_decl (tree decl)
dbxout_begin_function (decl);
#endif
dbxout_block (DECL_INITIAL (decl), 0, DECL_ARGUMENTS (decl));
-#ifdef DBX_OUTPUT_FUNCTION_END
- DBX_OUTPUT_FUNCTION_END (asm_out_file, decl);
-#endif
dbxout_function_end ();
}
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index d7e13e9..c7ebbb8 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -8028,14 +8028,6 @@ This macro should not be defined if the default output is correct, or
if it can be made correct by defining @code{DBX_LINES_FUNCTION_RELATIVE}.
@end defmac
-@defmac DBX_OUTPUT_FUNCTION_END (@var{stream}, @var{function})
-Define this macro if the target machine requires special output at the
-end of the debugging information for a function. The definition should
-be a C statement (sans semicolon) to output the appropriate information
-to @var{stream}. @var{function} is the @code{FUNCTION_DECL} node for
-the function.
-@end defmac
-
@defmac NO_DBX_FUNCTION_END
Some stabs encapsulation formats (in particular ECOFF), cannot handle the
@code{.stabs "",N_FUN,,0,0,Lscope-function-1} gdb dbx extension construct.
diff --git a/gcc/system.h b/gcc/system.h
index 56f5ff0..31ec37e 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -656,7 +656,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
COLLECT_PARSE_FLAG DWARF2_GENERATE_TEXT_SECTION_LABEL WINNING_GDB \
ASM_OUTPUT_FILENAME ASM_OUTPUT_SOURCE_LINE FILE_NAME_JOINER \
GDB_INV_REF_REGPARM_STABS_LETTER DBX_MEMPARM_STABS_LETTER \
- PUT_SDB_SRC_FILE STABS_GCC_MARKER
+ PUT_SDB_SRC_FILE STABS_GCC_MARKER DBX_OUTPUT_FUNCTION_END
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \