summaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-07-06 14:45:56 +0000
committerTristan Gingold <gingold@adacore.com>2009-07-06 14:45:56 +0000
commitbcac12f056c35393643eb564591a66689a86940e (patch)
tree7b53c44c20419ffd002bda93384dae050d9580c5 /binutils/objdump.c
parentd7b0f93be02efa1f70f3b74b9975a14ca187be08 (diff)
downloadbinutils-redhat-bcac12f056c35393643eb564591a66689a86940e.tar.gz
2009-07-06 Tristan Gingold <gingold@adacore.com>
* objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf sections. * dwarf.h (struct dwarf_section_display): Remove eh_frame field. * dwarf.c (debug_displays): Adjust for removed field.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c25
1 files changed, 11 insertions, 14 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index dfe6a57e16..b346aa7a52 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -2236,21 +2236,18 @@ dump_dwarf_section (bfd *abfd, asection *section,
&& debug_displays [i].enabled != NULL
&& *debug_displays [i].enabled)
{
- if (!debug_displays [i].eh_frame)
- {
- struct dwarf_section *sec = &debug_displays [i].section;
-
- if (strcmp (sec->uncompressed_name, match) == 0)
- sec->name = sec->uncompressed_name;
- else
- sec->name = sec->compressed_name;
- if (load_specific_debug_section (i, section, abfd))
- {
- debug_displays [i].display (sec, abfd);
+ struct dwarf_section *sec = &debug_displays [i].section;
- if (i != info && i != abbrev)
- free_debug_section (i);
- }
+ if (strcmp (sec->uncompressed_name, match) == 0)
+ sec->name = sec->uncompressed_name;
+ else
+ sec->name = sec->compressed_name;
+ if (load_specific_debug_section (i, section, abfd))
+ {
+ debug_displays [i].display (sec, abfd);
+
+ if (i != info && i != abbrev)
+ free_debug_section (i);
}
break;
}