toplev.c (process_options): Choose default debugging type when gtoggle enables debug info and type is unset.
* toplev.c (process_options): Choose default debugging type when gtoggle enables debug info and type is unset. From-SVN: r151524
This commit is contained in:
parent
da4a947987
commit
6a57e634bf
|
@ -1,3 +1,8 @@
|
|||
2009-09-08 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* toplev.c (process_options): Choose default debugging type when
|
||||
gtoggle enables debug info and type is unset.
|
||||
|
||||
2009-09-08 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR debug/41276
|
||||
|
|
|
@ -1883,7 +1883,12 @@ process_options (void)
|
|||
if (flag_gtoggle)
|
||||
{
|
||||
if (debug_info_level == DINFO_LEVEL_NONE)
|
||||
debug_info_level = DINFO_LEVEL_NORMAL;
|
||||
{
|
||||
debug_info_level = DINFO_LEVEL_NORMAL;
|
||||
|
||||
if (write_symbols == NO_DEBUG)
|
||||
write_symbols = PREFERRED_DEBUGGING_TYPE;
|
||||
}
|
||||
else
|
||||
debug_info_level = DINFO_LEVEL_NONE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue