summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-01 05:39:12 +0000
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-01 05:39:12 +0000
commit8b7af0c07e2f09b4afe44747cfc1691b7ba7f8d4 (patch)
tree00b46522e71711ddd8dee445c4f7cda1b0d8345a /gcc
parente9235cefc0e2946c1db6ec80cdc06f83255d5e55 (diff)
downloadgcc-8b7af0c07e2f09b4afe44747cfc1691b7ba7f8d4.tar.gz
* toplev.c (process_options): Ensure debug_hooks is initialized.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86872 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/toplev.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 795de3f5fe1..cec7b2ed7f8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-31 Stan Shebs <shebs@apple.com>
+
+ * toplev.c (process_options): Ensure debug_hooks is initialized.
+
2004-08-31 Mark Mitchell <mark@codesourcery.com>
* target-def.h (TARGET_CXX): Add TARGET_CXX_EXPORT_CLASS_DATA.
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;