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 | |
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')
-rw-r--r-- | binutils/ChangeLog | 7 | ||||
-rw-r--r-- | binutils/dwarf.c | 9 | ||||
-rw-r--r-- | binutils/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/objdump.W | 2 |
4 files changed, 17 insertions, 5 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 6801b88..2733543 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,10 @@ +2008-10-06 Tom Tromey <tromey@redhat.com> + + * 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. + 2008-10-02 Andrew Paprocki <andrew@ishiboo.com> PR 6934 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) { diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index acb2bdc..b8cee24b 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-10-06 Tom Tromey <tromey@redhat.com> + + * binutils-all/objdump.W: Update. + 2008-10-03 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/group.s: Updated. diff --git a/binutils/testsuite/binutils-all/objdump.W b/binutils/testsuite/binutils-all/objdump.W index dfca562..7617470 100644 --- a/binutils/testsuite/binutils-all/objdump.W +++ b/binutils/testsuite/binutils-all/objdump.W @@ -1,7 +1,7 @@ tmpdir/dw2-compressed.o: file format .* -The section .debug_info contains: +Contents of the .debug_info section: Compilation Unit @ offset 0x0: Length: 0x4e \(32-bit\) |