diff options
| author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-19 21:17:09 +0000 |
|---|---|---|
| committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-19 21:17:09 +0000 |
| commit | b29760a8e6a82c8ddbb584af71ccfdf5a051b96f (patch) | |
| tree | 434ba7ff40dd5b0508e6609dc0b744e6680e3656 /gcc/debug.c | |
| parent | 8e41f2ef594f05bbf40d6d7497a93b4b7cf9e3ca (diff) | |
| download | ppe42-gcc-b29760a8e6a82c8ddbb584af71ccfdf5a051b96f.tar.gz ppe42-gcc-b29760a8e6a82c8ddbb584af71ccfdf5a051b96f.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44163 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/debug.c')
| -rw-r--r-- | gcc/debug.c | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/gcc/debug.c b/gcc/debug.c index 4e525d5c449..05811a94ffd 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; |

