diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-08-08 19:22:44 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-08-08 19:22:44 +0000 |
commit | df38ffef8c7df1252c0010a5ac4c080a0133e21b (patch) | |
tree | 625f4fdac91fb1a18f970ba0155bb6111cf6e4d4 /gcc/toplev.h | |
parent | 7daaf8fa80c9dd9f4dc650ecd4fec7c69cf63e32 (diff) | |
download | gcc-df38ffef8c7df1252c0010a5ac4c080a0133e21b.tar.gz |
common.opt: Add debug switches.
* common.opt: Add debug switches.
* flags.h (use_gnu_debug_info_extensions): Boolify.
* opts.c (write_symbols, debug_info_level,
use_gnu_debug_info_extensions): Move from toplev.c.
(set_debug_level): New.
(common_handle_options): Handle debug switches.
(print_help): Display target options directly.
* toplev.c (debug_hooks): Don't initialize.
(write_symbols, debug_info_level,
use_gnu_debug_info_extensions): Move to opts.c.
(debug_args, display_help, decode_g_option): Remove.
(process_options): Set no debug if level zero here,
and no-debug-hooks. Error here if impossible debug format selected.
* toplev.h (display_help, decode_g_option): Remove.
testsuite:
* lib/gcc-dg.exp: Update for diagnostic change.
From-SVN: r70253
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r-- | gcc/toplev.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h index 71a9fd5bfad..5adab615f91 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -123,7 +123,6 @@ extern int flag_ssa_dce; extern int time_report; extern int flag_new_regalloc; -extern void display_help (void); extern void display_target_options (void); extern void print_version (FILE *, const char *); extern void set_target_switch (const char *); @@ -139,9 +138,6 @@ extern void set_fast_math_flags (int); /* Handle -d switch. */ extern void decode_d_option (const char *); -/* Handle -g switch. */ -extern void decode_g_option (const char *); - /* Return true iff flags are set as if -ffast-math. */ extern bool fast_math_flags_set_p (void); |