diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-04-25 18:59:11 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-04-25 18:59:11 +0200 |
commit | 98095aa3379c4db453d656b82f368e3bbacbfa07 (patch) | |
tree | c0adf84823b69e93515bec4add24e4f996c6ec10 /gcc/common.opt | |
parent | 9c8305f8fcfdab61ed276d1c30e7832e87d9ac55 (diff) | |
download | gcc-98095aa3379c4db453d656b82f368e3bbacbfa07.zip gcc-98095aa3379c4db453d656b82f368e3bbacbfa07.tar.gz gcc-98095aa3379c4db453d656b82f368e3bbacbfa07.tar.bz2 |
common.opt (flag_debug_types_section): Default to 0.
* common.opt (flag_debug_types_section): Default to 0.
(dwarf_version): Default to 4.
(dwarf_record_gcc_switches): Default to 1.
(dwarf_strict): Default to 0.
* toplev.c (process_options): Don't handle dwarf_strict
or dwarf_version here.
* config/vxworks.c (vxworks_override_options): Don't
test whether dwarf_strict or dwarf_version are negative,
instead test !global_options_set.x_dwarf_*.
* config/darwin.c (darwin_override_options): Default to
dwarf_version 2.
* doc/invoke.texi: Note that -gdwarf-4, -grecord-gcc-switches
and -fno-debug-types-section are now the default.
From-SVN: r186835
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index df94227..4a2508c7 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -967,7 +967,7 @@ Common Joined RejectNegative Var(common_deferred_options) Defer Map one directory name to another in debug information fdebug-types-section -Common Report Var(flag_debug_types_section) Init(1) +Common Report Var(flag_debug_types_section) Init(0) Output .debug_types section when using DWARF v4 debuginfo. ; Nonzero for -fdefer-pop: don't pop args after each function call @@ -2212,7 +2212,7 @@ Common JoinedOrMissing Negative(gdwarf-) Generate debug information in COFF format gdwarf- -Common Joined UInteger Var(dwarf_version) Init(-1) Negative(gstabs) +Common Joined UInteger Var(dwarf_version) Init(4) Negative(gstabs) Generate debug information in DWARF v2 (or later) format ggdb @@ -2220,7 +2220,7 @@ Common JoinedOrMissing Generate debug information in default extended format gno-record-gcc-switches -Common RejectNegative Var(dwarf_record_gcc_switches,0) Init(0) +Common RejectNegative Var(dwarf_record_gcc_switches,0) Init(1) Don't record gcc command line switches in DWARF DW_AT_producer. grecord-gcc-switches @@ -2236,7 +2236,7 @@ Common JoinedOrMissing Negative(gvms) Generate debug information in extended STABS format gno-strict-dwarf -Common RejectNegative Var(dwarf_strict,0) Init(-1) +Common RejectNegative Var(dwarf_strict,0) Init(0) Emit DWARF additions beyond selected version gstrict-dwarf |