summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2004-09-01 05:39:12 +0000
committerStan Shebs <shebs@gcc.gnu.org>2004-09-01 05:39:12 +0000
commit93415288cd7cc7b2c56b24640f1b4b01741513c6 (patch)
tree00b46522e71711ddd8dee445c4f7cda1b0d8345a /gcc/toplev.c
parentc11ddb68248978c0cbefcb037cf3c72cbc326f6b (diff)
downloadgcc-93415288cd7cc7b2c56b24640f1b4b01741513c6.tar.gz
* toplev.c (process_options): Ensure debug_hooks is initialized.
From-SVN: r86872
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index d1b10ac72b6..34db3bd4a76 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1806,8 +1806,9 @@ process_options (void)
default_debug_hooks = &vmsdbg_debug_hooks;
#endif
+ debug_hooks = &do_nothing_debug_hooks;
if (write_symbols == NO_DEBUG)
- debug_hooks = &do_nothing_debug_hooks;
+ ;
#if defined(DBX_DEBUGGING_INFO)
else if (write_symbols == DBX_DEBUG)
debug_hooks = &dbx_debug_hooks;