aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-03-12 05:40:36 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-03-12 05:40:36 +0000
commit54b6670a15b6989ea1d4c87a72b833490d062b5b (patch)
tree8b89a9c07b772220e972a5f28b1241f974c8b4ee /gcc/dbxout.c
parent2465bf7657aee12ef1237014054619cdfd549684 (diff)
downloadgcc-54b6670a15b6989ea1d4c87a72b833490d062b5b.zip
gcc-54b6670a15b6989ea1d4c87a72b833490d062b5b.tar.gz
gcc-54b6670a15b6989ea1d4c87a72b833490d062b5b.tar.bz2
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/dbxout.c')
-rw-r--r--gcc/dbxout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 2db1f3a..b74aa12 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -326,7 +326,7 @@ static void dbxout_begin_block PARAMS ((unsigned, unsigned));
static void dbxout_end_block PARAMS ((unsigned, unsigned));
static void dbxout_function_decl PARAMS ((tree));
-struct gcc_debug_hooks dbx_debug_hooks =
+const struct gcc_debug_hooks dbx_debug_hooks =
{
dbxout_init,
dbxout_finish,
@@ -356,7 +356,7 @@ struct gcc_debug_hooks dbx_debug_hooks =
#endif /* DBX_DEBUGGING_INFO */
#if defined (XCOFF_DEBUGGING_INFO)
-struct gcc_debug_hooks xcoff_debug_hooks =
+const struct gcc_debug_hooks xcoff_debug_hooks =
{
dbxout_init,
dbxout_finish,