diff options
author | Nick Clifton <nickc@redhat.com> | 2008-10-06 16:27:35 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-10-06 16:27:35 +0000 |
commit | 80c35038cb89902c4e4a1d4f33c5cd1d0268807d (patch) | |
tree | 0f62145b20cfbff11db43a1b0924fa1dfec1db4f /binutils/dwarf.c | |
parent | 7592cfd75db08f5ccbd4403ca80047c2f4540401 (diff) | |
download | gdb-80c35038cb89902c4e4a1d4f33c5cd1d0268807d.zip gdb-80c35038cb89902c4e4a1d4f33c5cd1d0268807d.tar.gz gdb-80c35038cb89902c4e4a1d4f33c5cd1d0268807d.tar.bz2 |
* dwarf.c (display_debug_frames): Change text for uniformity.
(process_debug_info): Likewise.
(display_debug_aranges): Likewise. Indent address output.
(display_debug_pubnames): Print offset in hex.
* binutils-all/objdump.W: Update.
* gas/cfi/cfi-alpha-1.d, gas/cfi/cfi-alpha-3.d,
gas/cfi/cfi-arm-1.d, gas/cfi/cfi-common-1.d,
gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d,
gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-5.d,
gas/cfi/cfi-common-6.d, gas/cfi/cfi-hppa-1.d,
gas/cfi/cfi-i386-2.d, gas/cfi/cfi-i386.d, gas/cfi/cfi-m68k.d,
gas/cfi/cfi-mips-1.d, gas/cfi/cfi-ppc-1.d, gas/cfi/cfi-s390-1.d,
gas/cfi/cfi-s390x-1.d, gas/cfi/cfi-sh-1.d, gas/cfi/cfi-sparc-1.d,
gas/cfi/cfi-sparc64-1.d, gas/cfi/cfi-x86_64.d: Update for readelf
change.
* ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d,
ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d,
ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d,
ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d,
ld-mips-elf/eh-frame4.d: Update for readelf change.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 983a3c7..f6a5a53 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -1839,7 +1839,7 @@ process_debug_info (struct dwarf_section *section, if (!do_loc) { - printf (_("The section %s contains:\n\n"), section->name); + printf (_("Contents of the %s section:\n\n"), section->name); load_debug_section (str, file); } @@ -2904,7 +2904,7 @@ display_debug_pubnames (struct dwarf_section *section, if (offset != 0) { data += offset_size; - printf (" %-6ld\t\t%s\n", offset, data); + printf (" %-6lx\t%s\n", offset, data); data += strlen ((char *) data) + 1; } } @@ -3322,7 +3322,7 @@ display_debug_aranges (struct dwarf_section *section, unsigned char *start = section->start; unsigned char *end = start + section->size; - printf (_("The section %s contains:\n\n"), section->name); + printf (_("Contents of the %s section:\n\n"), section->name); /* It does not matter if this load fails, we test for that later on. */ @@ -3423,6 +3423,7 @@ display_debug_aranges (struct dwarf_section *section, ranges += address_size; + printf (" "); print_dwarf_vma (address, address_size); print_dwarf_vma (length, address_size); putchar ('\n'); @@ -3814,7 +3815,7 @@ display_debug_frames (struct dwarf_section *section, unsigned int length_return; int max_regs = 0; - printf (_("The section %s contains:\n"), section->name); + printf (_("Contents of the %s section:\n"), section->name); while (start < end) { |