diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-03-12 05:40:36 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-03-12 05:40:36 +0000 |
commit | 54b6670a15b6989ea1d4c87a72b833490d062b5b (patch) | |
tree | 8b89a9c07b772220e972a5f28b1241f974c8b4ee /gcc/debug.h | |
parent | 2465bf7657aee12ef1237014054619cdfd549684 (diff) | |
download | gcc-54b6670a15b6989ea1d4c87a72b833490d062b5b.tar.gz |
Makefile.in (debug.o): Depend on debug.h.
* Makefile.in (debug.o): Depend on debug.h.
* dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
* debug.c (do_nothing_debug_hooks): Likewise.
* debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
* dwarf2out.c (dwarf2_debug_hooks): Likewise.
* dwarfout.c (dwarf_debug_hooks): Likewise.
* integrate.c (output_inline_function): Likewise.
* objc/objc-act.c (synth_module_prologue): Likewise.
* sdbout.c (sdb_debug_hooks): Likewise.
* toplev.c (debug_hooks): Likewise.
* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
From-SVN: r50635
Diffstat (limited to 'gcc/debug.h')
-rw-r--r-- | gcc/debug.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/debug.h b/gcc/debug.h index 1f4349da7af..a8b1954f850 100644 --- a/gcc/debug.h +++ b/gcc/debug.h @@ -103,7 +103,7 @@ struct gcc_debug_hooks void (* label) PARAMS ((rtx)); }; -extern struct gcc_debug_hooks *debug_hooks; +extern const struct gcc_debug_hooks *debug_hooks; /* The do-nothing hooks. */ extern void debug_nothing_void @@ -124,13 +124,13 @@ extern void debug_nothing_rtx PARAMS ((rtx)); /* Hooks for various debug formats. */ -extern struct gcc_debug_hooks do_nothing_debug_hooks; -extern struct gcc_debug_hooks dbx_debug_hooks; -extern struct gcc_debug_hooks sdb_debug_hooks; -extern struct gcc_debug_hooks xcoff_debug_hooks; -extern struct gcc_debug_hooks dwarf_debug_hooks; -extern struct gcc_debug_hooks dwarf2_debug_hooks; -extern struct gcc_debug_hooks vmsdbg_debug_hooks; +extern const struct gcc_debug_hooks do_nothing_debug_hooks; +extern const struct gcc_debug_hooks dbx_debug_hooks; +extern const struct gcc_debug_hooks sdb_debug_hooks; +extern const struct gcc_debug_hooks xcoff_debug_hooks; +extern const struct gcc_debug_hooks dwarf_debug_hooks; +extern const struct gcc_debug_hooks dwarf2_debug_hooks; +extern const struct gcc_debug_hooks vmsdbg_debug_hooks; /* Dwarf2 frame information. */ |