* [patch] Remove DBX_OUTPUT_FUNCTION_END.
@ 2004-10-23 16:13 Kazu Hirata
2004-10-23 19:20 ` Zack Weinberg
0 siblings, 1 reply; 2+ messages in thread
From: Kazu Hirata @ 2004-10-23 16:13 UTC (permalink / raw)
To: gcc-patches
Hi,
Attached is a patch to remove DBX_OUTPUT_FUNCTION_END as nobody
defines it.
Bootstrapped on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2004-10-22 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.
Index: dbxout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dbxout.c,v
retrieving revision 1.208
diff -u -p -r1.208 dbxout.c
--- dbxout.c 21 Oct 2004 17:22:00 -0000 1.208
+++ dbxout.c 22 Oct 2004 19:14:13 -0000
@@ -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 ();
}
Index: system.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/system.h,v
retrieving revision 1.231
diff -u -p -r1.231 system.h
--- system.h 21 Oct 2004 17:22:00 -0000 1.231
+++ system.h 22 Oct 2004 19:14:13 -0000
@@ -656,7 +656,7 @@ extern void fancy_abort (const char *, i
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 \
Index: doc/tm.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/tm.texi,v
retrieving revision 1.383
diff -u -p -r1.383 tm.texi
--- doc/tm.texi 21 Oct 2004 17:22:01 -0000 1.383
+++ doc/tm.texi 22 Oct 2004 19:14:20 -0000
@@ -8028,14 +8028,6 @@ This macro should not be defined if the
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] Remove DBX_OUTPUT_FUNCTION_END.
2004-10-23 16:13 [patch] Remove DBX_OUTPUT_FUNCTION_END Kazu Hirata
@ 2004-10-23 19:20 ` Zack Weinberg
0 siblings, 0 replies; 2+ messages in thread
From: Zack Weinberg @ 2004-10-23 19:20 UTC (permalink / raw)
To: Kazu Hirata; +Cc: gcc-patches
Kazu Hirata <kazu@cs.umass.edu> writes:
> * 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.
Ok.
zw
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-23 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-23 16:13 [patch] Remove DBX_OUTPUT_FUNCTION_END Kazu Hirata
2004-10-23 19:20 ` Zack Weinberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).