Makefile.in (toplev.o, [...]): Depend on debug.h, wrap long lines.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Tue, 10 Jul 2001 18:44:34 +0000 (18:44 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 10 Jul 2001 18:44:34 +0000 (18:44 +0000)
commita51d908e98573a9569a8cc2d14767ca4fb9e9777
treebf9ce8c7e5bc03d0da6a7ffad30060744e0c393f
parentbaed53ac34be7516b226afc7ffd033e4aef3c67e
Makefile.in (toplev.o, [...]): Depend on debug.h, wrap long lines.

* Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
dwarf2out.o): Depend on debug.h, wrap long lines.
* dbxout.c: Include debug.h.
(dbx_debug_hooks): New.
(dbxout_init): Make static, take just 2 args.
(dbxout_finish): Make static.
* dbxout.h (dbxout_init, dbxout_finish): Delete.
* debug.c: New file.
* debug.h: New file.
* dwarf2out.c: Include debug.h.
(dwarf2_debug_hooks): New.
(dwarf2out_init): Make static.
(dwarf2out_finish): Make static, take 2 args.
* dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
* dwarfout.c: Include debug.h.
(dwarf_debug_hooks): New.
(dwarfout_init): Make static.
(dwarfout_finish): Make static, take 2 args.
* dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
* sdbout.c: Include debug.h.
(sdb_debug_hooks): New.
(sdbout_init): Make static, take 2 args.
* sdbout.h (sdbout_init): Delete.
* toplev.c: Include debug.h.
(debug_hooks): New.
(compile_file): Set deubg_hooks based on command line options.
Use the hooks unconditionally rather than conditional compilation.

From-SVN: r43908
13 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/dbxout.c
gcc/dbxout.h
gcc/debug.c [new file with mode: 0644]
gcc/debug.h [new file with mode: 0644]
gcc/dwarf2out.c
gcc/dwarf2out.h
gcc/dwarfout.c
gcc/dwarfout.h
gcc/sdbout.c
gcc/sdbout.h
gcc/toplev.c