aboutsummaryrefslogtreecommitdiff
path: root/gcc/debug.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-07-19 21:17:09 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-07-19 21:17:09 +0000
commite1772ac0583495ca8fbc949988dd51dbfc83b8fa (patch)
tree434ba7ff40dd5b0508e6609dc0b744e6680e3656 /gcc/debug.c
parent77f43519e73eaac473819ed22dd95e643f500907 (diff)
downloadgcc-e1772ac0583495ca8fbc949988dd51dbfc83b8fa.zip
gcc-e1772ac0583495ca8fbc949988dd51dbfc83b8fa.tar.gz
gcc-e1772ac0583495ca8fbc949988dd51dbfc83b8fa.tar.bz2
Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
* Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h. (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h. (toplev.o): Don't depend on xcoffout.h. * c-decl.c: Include debug.h (duplicate_decls): Use debug hook. * dbxout.c (dbxout_source_file, dbxout_args): Make static. (dbx_debug_hooks, xcoff_debug_hooks): Update. (dbxout_types): Remove. * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove. * debug.c (do_nothing_debug_hooks): Update. (debug_true_tree, debug_nothing_rtx): New. * debug.h (struct rtx_def): New. (struct gcc_debug_hooks): New hooks ignore_block, outlining_inline_function and label. (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init, dwarf2out_frame_finish): New. * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function): Make static, update prototype. (dwarf2_debug_hooks): Update. * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function, dwarf2out_frame_init, dwarf2out_frame_finish): Remove. * dwarfout.c (dwarf_debug_hooks): Update. * emit-rtl.c: Include debug.h. (remove_unnecessary_notes): Use debug hook. * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h. (final_scan_insn): Use debug hook. * integrate.c (output_inline_function): Use debug hook. * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static. (sdb_debug_hooks): Update. * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove. * toplev.c: Don't include xcoffout.h. (note_outlining_of_inline_function, debug_ignore_block): Remove. * toplev.h (note_outlining_of_inline_function, debug_ignore_block): Remove. * tree.h (dwarf2out_do_frame): Remove. From-SVN: r44163
Diffstat (limited to 'gcc/debug.c')
-rw-r--r--gcc/debug.c22
1 files changed, 19 insertions, 3 deletions
diff --git a/gcc/debug.c b/gcc/debug.c
index 4e525d5..05811a9 100644
--- a/gcc/debug.c
+++ b/gcc/debug.c
@@ -28,8 +28,9 @@ struct gcc_debug_hooks do_nothing_debug_hooks =
debug_nothing_int_charstar,
debug_nothing_int_charstar,
debug_nothing_int,
- debug_nothing_int_int,
- debug_nothing_int_int,
+ debug_nothing_int_int, /* begin_block */
+ debug_nothing_int_int, /* end_block */
+ debug_true_tree, /* ignore_block */
debug_nothing_int_charstar, /* source_line */
debug_nothing_int_charstar, /* begin_prologue */
debug_nothing_int, /* end_prologue */
@@ -38,7 +39,9 @@ struct gcc_debug_hooks do_nothing_debug_hooks =
debug_nothing_int, /* end_function */
debug_nothing_tree, /* function_decl */
debug_nothing_tree, /* global_decl */
- debug_nothing_tree /* deferred_inline_function */
+ debug_nothing_tree, /* deferred_inline_function */
+ debug_nothing_tree, /* outlining_inline_function */
+ debug_nothing_rtx /* label */
};
/* This file contains implementations of each debug hook that do
@@ -55,6 +58,19 @@ debug_nothing_tree (decl)
{
}
+bool
+debug_true_tree (block)
+ union tree_node *block ATTRIBUTE_UNUSED;
+{
+ return true;
+}
+
+void
+debug_nothing_rtx (insn)
+ struct rtx_def *insn ATTRIBUTE_UNUSED;
+{
+}
+
void
debug_nothing_charstar (main_filename)
const char *main_filename ATTRIBUTE_UNUSED;