aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>2013-04-10 14:47:55 +0000
committerJason Merrill <jason@gcc.gnu.org>2013-04-10 10:47:55 -0400
commit6782438df72d659f7ea62b40c274ca95b8a1ea54 (patch)
tree4b2c65e5ca3837cc37615063456637c68b852afb /gcc/common.opt
parentbb313b932bb976243e5d2a5e0bc38f8adfc1a235 (diff)
downloadgcc-6782438df72d659f7ea62b40c274ca95b8a1ea54.zip
gcc-6782438df72d659f7ea62b40c274ca95b8a1ea54.tar.gz
gcc-6782438df72d659f7ea62b40c274ca95b8a1ea54.tar.bz2
common.opt: Add -gdwarf.
* common.opt: Add -gdwarf. * opts.c (common_handle_option): Handle it. * gcc.c (ASM_DEBUG_SPEC): Don't expect "-2" for DWARF. Co-Authored-By: Jason Merrill <jason@redhat.com> From-SVN: r197675
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index e02e7ed..6b9b2e1 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2308,9 +2308,13 @@ Common JoinedOrMissing
Generate debug information in default format
gcoff
-Common JoinedOrMissing Negative(gdwarf-)
+Common JoinedOrMissing Negative(gdwarf)
Generate debug information in COFF format
+gdwarf
+Common JoinedOrMissing Negative(gdwarf-)
+Generate debug information in default version of DWARF format
+
gdwarf-
Common Joined UInteger Var(dwarf_version) Init(4) Negative(gstabs)
Generate debug information in DWARF v2 (or later) format