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/config/vxworks.c | |
parent | 9c8305f8fcfdab61ed276d1c30e7832e87d9ac55 (diff) |
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/config/vxworks.c')
-rw-r--r-- | gcc/config/vxworks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/vxworks.c b/gcc/config/vxworks.c index 1e5a7ad82a6..d88f03ffecb 100644 --- a/gcc/config/vxworks.c +++ b/gcc/config/vxworks.c @@ -1,5 +1,5 @@ /* Common VxWorks target definitions for GNU compiler. - Copyright (C) 2007, 2008, 2010 + Copyright (C) 2007, 2008, 2010, 2012 Free Software Foundation, Inc. Contributed by CodeSourcery, Inc. @@ -147,9 +147,9 @@ vxworks_override_options (void) /* Default to strict dwarf-2 to prevent potential difficulties observed with non-gdb debuggers on extensions > 2. */ - if (dwarf_strict < 0) + if (!global_options_set.x_dwarf_strict) dwarf_strict = 1; - if (dwarf_version < 0) + if (!global_options_set.x_dwarf_version) dwarf_version = 2; } |