diff options
author | Nick Clifton <nickc@redhat.com> | 2009-06-22 08:46:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-06-22 08:46:13 +0000 |
commit | 98fb390a91085af1814d5348ce18e4726ac79ff7 (patch) | |
tree | fc3ea712e496419bdc2bf2fa86284c9051f2dec2 /binutils/dwarf.c | |
parent | 854f4b0e951a61aba2f26caa33dda765ce3a1f88 (diff) | |
download | gdb-98fb390a91085af1814d5348ce18e4726ac79ff7.zip gdb-98fb390a91085af1814d5348ce18e4726ac79ff7.tar.gz gdb-98fb390a91085af1814d5348ce18e4726ac79ff7.tar.bz2 |
* readelf.c (target_specific_reloc_handling): New function:
Processes relocs in a target specific manner.
(debug_apply_relocations): Use the new function.
* dwarf.c (display_debug_loc): End the dump with a blank line.
(struct debug_display): Enable reloc processing for .debug_aranges
and .debug_loc sections.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index c8b10f0..b524d17 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -3254,6 +3254,7 @@ display_debug_loc (struct dwarf_section *section, void *file) if (start < section_end) warn (_("There are %ld unused bytes at the end of section %s\n"), (long) (section_end - start), section->name); + putchar ('\n'); return 1; } @@ -4865,7 +4866,7 @@ struct dwarf_section_display debug_displays[] = { { ".debug_abbrev", ".zdebug_abbrev", NULL, NULL, 0, 0 }, display_debug_abbrev, &do_debug_abbrevs, 0, 0 }, { { ".debug_aranges", ".zdebug_aranges", NULL, NULL, 0, 0 }, - display_debug_aranges, &do_debug_aranges, 0, 0 }, + display_debug_aranges, &do_debug_aranges, 1, 0 }, { { ".debug_frame", ".zdebug_frame", NULL, NULL, 0, 0 }, display_debug_frames, &do_debug_frames, 1, 0 }, { { ".debug_info", ".zdebug_info", NULL, NULL, 0, 0 }, @@ -4881,7 +4882,7 @@ struct dwarf_section_display debug_displays[] = { { ".debug_str", ".zdebug_str", NULL, NULL, 0, 0 }, display_debug_str, &do_debug_str, 0, 0 }, { { ".debug_loc", ".zdebug_loc", NULL, NULL, 0, 0 }, - display_debug_loc, &do_debug_loc, 0, 0 }, + display_debug_loc, &do_debug_loc, 1, 0 }, { { ".debug_pubtypes", ".zdebug_pubtypes", NULL, NULL, 0, 0 }, display_debug_pubnames, &do_debug_pubnames, 0, 0 }, { { ".debug_ranges", ".zdebug_ranges", NULL, NULL, 0, 0 }, |