diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-12 05:40:36 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-12 05:40:36 +0000 |
commit | e42f642381c6ba7bd12a81bfc23dccbb39797bc6 (patch) | |
tree | 8b89a9c07b772220e972a5f28b1241f974c8b4ee /gcc/debug.h | |
parent | 3cf24182deed8d13874d624903c52ba0a44b07f8 (diff) | |
download | gcc-e42f642381c6ba7bd12a81bfc23dccbb39797bc6.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50635 138bc75d-0d04-0410-961f-82ee72b054a4
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. */ |