From: Stan Shebs Date: Wed, 1 Sep 2004 05:39:12 +0000 (+0000) Subject: * toplev.c (process_options): Ensure debug_hooks is initialized. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93415288cd7cc7b2c56b24640f1b4b01741513c6;p=gcc.git * toplev.c (process_options): Ensure debug_hooks is initialized. From-SVN: r86872 --- 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 + + * toplev.c (process_options): Ensure debug_hooks is initialized. + 2004-08-31 Mark Mitchell * 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;