aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
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/common.opt
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/common.opt')
-rw-r--r--gcc/common.opt41
1 files changed, 41 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 65341d1..546e738 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -709,6 +709,47 @@ Put zero initialized data in the bss section
g
Common JoinedOrMissing
+Generate debug information in default format
+
+gcoff
+Common JoinedOrMissing
+Generate debug information in COFF format
+
+gdwarf
+Common JoinedOrMissing
+Generate debug information in DWARF v1 format
+
+gdwarf+
+Common JoinedOrMissing
+Generate debug information in extended DWARF v1 format
+
+gdwarf-2
+Common JoinedOrMissing
+Generate debug information in DWARF v2 format
+
+ggdb
+Common JoinedOrMissing
+Generate debug information in default extended format
+
+gstabs
+Common JoinedOrMissing
+Generate debug information in STABS format
+
+gstabs+
+Common JoinedOrMissing
+Generate debug information in extended STABS format
+
+gvms
+Common JoinedOrMissing
+Generate debug information in VMS format
+
+gxcoff
+Common JoinedOrMissing
+Generate debug information in XCOFF format
+
+gxcoff+
+Common JoinedOrMissing
+Generate debug information in extended XCOFF format
m
Common Joined