From 1233b4a775cd7a584b8aac3a3a5b5055c0707528 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 11 Apr 2012 14:05:30 +0000 Subject: [PATCH] * objdump.c (dump_bfd): If defaulting to dwarf call dwarf_select_sections_all to enable displays. --- binutils/ChangeLog | 5 +++++ binutils/objdump.c | 1 + 2 files changed, 6 insertions(+) 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 + + * objdump.c (dump_bfd): If defaulting to dwarf call + dwarf_select_sections_all to enable displays. + 2012-04-06 Roland McGrath * 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); } } -- 2.7.4