* dwarf.c (process_debug_info): Line up section offsets of
authorJim Blandy <jimb@codesourcery.com>
Wed, 10 Oct 2007 19:44:30 +0000 (19:44 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 10 Oct 2007 19:44:30 +0000 (19:44 +0000)
attribute values with those of dies.
(read_and_display_attr): Reduce spacing here.

binutils/ChangeLog
binutils/dwarf.c

index 810e9d2362085877c9a02585bd64e9eaae4406f2..add3ffc57fb30ccac99f7c0ab8ee5b4b6c385136 100644 (file)
@@ -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.
 
index 53e612073c87ab91b0870385c2d6ad8a6b43c93b..c4386696ea84788971250bf13f90595449c066c5 100644 (file)
@@ -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,