aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-07-30 08:39:14 +0100
committerNick Clifton <nickc@redhat.com>2020-07-30 08:39:14 +0100
commit4d8ee860737005517be588f4771c358593fa421c (patch)
treeb713229bd90be0e4f5d28f809c22fe77ba3a1c8f
parent5a99adb86018c10da294e7556544e401c492c2fb (diff)
downloadgdb-4d8ee860737005517be588f4771c358593fa421c.zip
gdb-4d8ee860737005517be588f4771c358593fa421c.tar.gz
gdb-4d8ee860737005517be588f4771c358593fa421c.tar.bz2
Prevent the generation of DWARF level 0 line number tables...
* as.c (dwarf_level): Initialise to 4 in case this is not set on the command line.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/as.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c83800a..c2595b4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2020-07-30 Nick Clifton <nickc@redhat.com>
+
+ * as.c (dwarf_level): Initialise to 4 in case this is not set on
+ the command line.
+
2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
* testsuite/gas/mips/global-local-symtab-sort-o32.d: New test.
diff --git a/gas/as.c b/gas/as.c
index 4c5881a..c2da788 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -103,7 +103,7 @@ int verbose = 0;
int flag_dwarf_cie_version = -1;
/* The maximum level of DWARF DEBUG information we should manufacture. */
-unsigned int dwarf_level = 0;
+unsigned int dwarf_level = 4;
#if defined OBJ_ELF || defined OBJ_MAYBE_ELF
int flag_use_elf_stt_common = DEFAULT_GENERATE_ELF_STT_COMMON;