summaryrefslogtreecommitdiff
path: root/gcc/debug.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-12 05:56:27 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-12 05:56:27 +0000
commit1dff614c85d6899e5442a721e03ae0924db542f0 (patch)
tree40b384a205e08322f34b489f268f42300c96c0bb /gcc/debug.c
parent037e86757698f1fef8a8b6d4054cc05de488c16f (diff)
downloadgcc-1dff614c85d6899e5442a721e03ae0924db542f0.tar.gz
* Makefile.in (final.o): Depend on debug.h.
* dbxout.c (dbxout_begin_block, dbxout_end_block): New. (dbx_debug_hooks): Add new hooks. (xcoff_debug_hooks): New. * debug.c (debug_nothing_file_int_int): New. (do_nothing_debug_hooks): Update. * debug.h (gcc_debug_hooks): New hooks begin_block and end_block. (debug_nothing_file_int_int): New. * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make static, update prototype. (dwarf2_debug_hooks): Update. * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove. * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make static, update prototype. (dwarf_debug_hooks): Update. * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove. * final.c: Include debug.h. (final_scan_insn): Use debug hooks when beginning and ending blocks. * sdbout.c (sdbout_begin_block, sdbout_end_block): Make static, update prototype. (sdb_debug_hooks): Update. * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove. * toplev.c: Distinguish between xcoff and dbx. * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_): Call all debug hooks, not just dwarf ones. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43959 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/debug.c')
-rw-r--r--gcc/debug.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/debug.c b/gcc/debug.c
index 0b750ac7870..5fb9a6f4722 100644
--- a/gcc/debug.c
+++ b/gcc/debug.c
@@ -27,7 +27,9 @@ struct gcc_debug_hooks do_nothing_debug_hooks =
debug_nothing_int_charstar,
debug_nothing_int_charstar,
debug_nothing_int_charstar,
- debug_nothing_int
+ debug_nothing_int,
+ debug_nothing_file_int_int,
+ debug_nothing_file_int_int
};
/* This file contains implementations of each debug hook that do
@@ -52,3 +54,11 @@ debug_nothing_int (line)
unsigned int line ATTRIBUTE_UNUSED;
{
}
+
+void
+debug_nothing_file_int_int (file, line, n)
+ FILE *file ATTRIBUTE_UNUSED;
+ unsigned int line ATTRIBUTE_UNUSED;
+ unsigned int n ATTRIBUTE_UNUSED;
+{
+}