aboutsummaryrefslogtreecommitdiff
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
commitc8450da85c70275a0d6c414df4d732f2bd97f8d2 (patch)
treee5c048da5143b87906957f1d9dc677a0a0d93871 /binutils/objdump.c
parent07d8eb5534a8109a6e78ff17268e19d5d18ad361 (diff)
downloadgdb-c8450da85c70275a0d6c414df4d732f2bd97f8d2.zip
gdb-c8450da85c70275a0d6c414df4d732f2bd97f8d2.tar.gz
gdb-c8450da85c70275a0d6c414df4d732f2bd97f8d2.tar.bz2
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 dfe6a57..b346aa7 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;
}