aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog7
-rw-r--r--binutils/dwarf.c9
-rw-r--r--binutils/testsuite/ChangeLog4
-rw-r--r--binutils/testsuite/binutils-all/objdump.W2
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\)