aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-04-11 14:05:30 +0000
committerNick Clifton <nickc@redhat.com>2012-04-11 14:05:30 +0000
commit1233b4a775cd7a584b8aac3a3a5b5055c0707528 (patch)
treea2112769020ccfeb5f3e6c1b3e86ae625fdb2fe8 /binutils
parent82e0cec1e54cccf178f9b6b9d60525b69f019276 (diff)
downloadgdb-1233b4a775cd7a584b8aac3a3a5b5055c0707528.zip
gdb-1233b4a775cd7a584b8aac3a3a5b5055c0707528.tar.gz
gdb-1233b4a775cd7a584b8aac3a3a5b5055c0707528.tar.bz2
* objdump.c (dump_bfd): If defaulting to dwarf call
dwarf_select_sections_all to enable displays.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/objdump.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 85b2da3..5c0492c 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
+
+ * objdump.c (dump_bfd): If defaulting to dwarf call
+ dwarf_select_sections_all to enable displays.
+
2012-04-06 Roland McGrath <mcgrathr@google.com>
* configure.in (AC_CHECK_HEADERS): Add locale.h.
diff --git a/binutils/objdump.c b/binutils/objdump.c
index f55b79d..02f312d 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -3230,6 +3230,7 @@ dump_bfd (bfd *abfd)
info in the file, try DWARF instead. */
else if (! dump_dwarf_section_info)
{
+ dwarf_select_sections_all ();
dump_dwarf (abfd);
}
}