Makefile.in (final.o): Depend on debug.h.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Thu, 12 Jul 2001 05:56:27 +0000 (05:56 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 12 Jul 2001 05:56:27 +0000 (05:56 +0000)
commita5a42b92933220e45ac15c4034065c0a2be5b209
tree40b384a205e08322f34b489f268f42300c96c0bb
parentc177db4bbe9370c05dbcd18220f4c927aea7c94b
Makefile.in (final.o): Depend on debug.h.

* 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.

From-SVN: r43959
14 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/dbxout.c
gcc/debug.c
gcc/debug.h
gcc/dwarf2out.c
gcc/dwarf2out.h
gcc/dwarfout.c
gcc/dwarfout.h
gcc/f/lex.c
gcc/final.c
gcc/sdbout.c
gcc/sdbout.h
gcc/toplev.c