* 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.
This commit is contained in:
Nick Clifton 2008-10-06 16:27:35 +00:00
parent 7592cfd75d
commit 80c35038cb
39 changed files with 71 additions and 38 deletions

View file

@ -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)
{