aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2007-10-10 19:44:30 +0000
committerJim Blandy <jimb@codesourcery.com>2007-10-10 19:44:30 +0000
commit750f03b79e4f99fa714f973759bfee74af52d775 (patch)
tree45ed0e711109db92da05ba971c28117ea66eb1b6 /binutils
parent6523721c1fd1407b26c338dea6c3b302b334d86e (diff)
downloadfsf-binutils-gdb-750f03b79e4f99fa714f973759bfee74af52d775.zip
fsf-binutils-gdb-750f03b79e4f99fa714f973759bfee74af52d775.tar.gz
fsf-binutils-gdb-750f03b79e4f99fa714f973759bfee74af52d775.tar.bz2
* dwarf.c (process_debug_info): Line up section offsets of
attribute values with those of dies. (read_and_display_attr): Reduce spacing here.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/dwarf.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 810e9d2..add3ffc 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,9 @@
2007-10-10 Jim Blandy <jimb@codesourcery.com>
+ * dwarf.c (process_debug_info): Line up section offsets of
+ attribute values with those of dies.
+ (read_and_display_attr): Reduce spacing here.
+
* dwarf.c (display_debug_lines): Print the offset of each line
number program header.
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 53e6120..c438669 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -1505,7 +1505,7 @@ read_and_display_attr (unsigned long attribute,
int do_loc)
{
if (!do_loc)
- printf (" %-18s:", get_AT_name (attribute));
+ printf (" %-18s:", get_AT_name (attribute));
data = read_and_display_attr_value (attribute, form, data, cu_offset,
pointer_size, offset_size,
dwarf_version, debug_info_p,
@@ -1747,7 +1747,7 @@ process_debug_info (struct dwarf_section *section, void *file,
{
if (! do_loc)
/* Show the offset from where the tag was extracted. */
- printf (" <%2lx>", (unsigned long)(tags - section_begin));
+ printf (" <%2lx>", (unsigned long)(tags - section_begin));
tags = read_and_display_attr (attr->attribute,
attr->form,