summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-24 20:34:30 +0000
committerhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-24 20:34:30 +0000
commit11652e71e2cfe9be8d7ff85e86c842a8c83618a3 (patch)
tree9284abef1d612ed53ee27cb059198eb1351edd47 /gcc/common.opt
parentc76e5dd85df2e413f7a5f2c75fbd4b0a9b5b7b85 (diff)
downloadgcc-11652e71e2cfe9be8d7ff85e86c842a8c83618a3.tar.gz
* common.opt (gdwarf-): Initialize dwarf_version to -1 instead of 2.
* toplev.c (process_options): Default to dwarf_version 2. * config/vxworks.c (vxworks_override_options): Default to strict-dwarf and dwarf_version 2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186783 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index aa6ebfe5e94..df942275d95 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2212,7 +2212,7 @@ Common JoinedOrMissing Negative(gdwarf-)
Generate debug information in COFF format
gdwarf-
-Common Joined UInteger Var(dwarf_version) Init(2) Negative(gstabs)
+Common Joined UInteger Var(dwarf_version) Init(-1) Negative(gstabs)
Generate debug information in DWARF v2 (or later) format
ggdb