From df38ffef8c7df1252c0010a5ac4c080a0133e21b Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Fri, 8 Aug 2003 19:22:44 +0000 Subject: 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 --- gcc/toplev.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gcc/toplev.h') diff --git a/gcc/toplev.h b/gcc/toplev.h index 71a9fd5..5adab61 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); -- cgit v1.1