aboutsummaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-08-08 19:22:44 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-08-08 19:22:44 +0000
commitdf38ffef8c7df1252c0010a5ac4c080a0133e21b (patch)
tree625f4fdac91fb1a18f970ba0155bb6111cf6e4d4 /gcc/flags.h
parent7daaf8fa80c9dd9f4dc650ecd4fec7c69cf63e32 (diff)
downloadgcc-df38ffef8c7df1252c0010a5ac4c080a0133e21b.zip
gcc-df38ffef8c7df1252c0010a5ac4c080a0133e21b.tar.gz
gcc-df38ffef8c7df1252c0010a5ac4c080a0133e21b.tar.bz2
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/flags.h')
-rw-r--r--gcc/flags.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index de7cc81..6195fee 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -55,7 +55,7 @@ extern enum debug_info_level debug_info_level;
/* Nonzero means use GNU-only extensions in the generated symbolic
debugging information. */
-extern int use_gnu_debug_info_extensions;
+extern bool use_gnu_debug_info_extensions;
/* Nonzero means emit debugging information only for symbols which are used. */
extern int flag_debug_only_used_symbols;