aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
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/objdump.c
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/objdump.c')
-rw-r--r--binutils/objdump.c1
1 files changed, 1 insertions, 0 deletions
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);
}
}