summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 94bc63e6609..e70be7028e6 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -133,7 +133,8 @@ init_c_lex (filename)
/* Set the debug callbacks if we can use them. */
if (debug_info_level == DINFO_LEVEL_VERBOSE
- && (write_symbols == DWARF_DEBUG || write_symbols == DWARF2_DEBUG))
+ && (write_symbols == DWARF_DEBUG || write_symbols == DWARF2_DEBUG
+ || write_symbols == VMS_AND_DWARF2_DEBUG))
{
cb->define = cb_define;
cb->undef = cb_undef;