diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-08 19:22:44 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-08 19:22:44 +0000 |
commit | b0e56fb1958104d256dde2469889e64302172bfe (patch) | |
tree | 625f4fdac91fb1a18f970ba0155bb6111cf6e4d4 /gcc/common.opt | |
parent | 0b8cc04d21289740ab70cb972c4fe1c0a0e41bbf (diff) | |
download | gcc-b0e56fb1958104d256dde2469889e64302172bfe.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70253 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 65341d1b33c..546e7388505 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 |