aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-04-01 10:07:44 +0000
committerNick Clifton <nickc@redhat.com>2004-04-01 10:07:44 +0000
commit935a41f543c3804fbf438d070234570cf8b03076 (patch)
tree58675982918a408592e041d7cee26a77373985ce /binutils
parent66a695f0b67c43e00b49bb4b97f7a183557c2b5f (diff)
downloadfsf-binutils-gdb-935a41f543c3804fbf438d070234570cf8b03076.zip
fsf-binutils-gdb-935a41f543c3804fbf438d070234570cf8b03076.tar.gz
fsf-binutils-gdb-935a41f543c3804fbf438d070234570cf8b03076.tar.bz2
(display_debug_pubnames): Align offset and data columns.
(read_and_display_attr_value): Add missing break; (debug_displays): Enable the display of the .debug_pubtypes section.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog8
-rw-r--r--binutils/readelf.c5
2 files changed, 11 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index d8f1fcf..50ca43d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,11 @@
+2004-04-01 Dean Luick <luick@cray.com>
+
+ * readelf.c (display_debug_pubnames): Align offset and data
+ columns.
+ (read_and_display_attr_value): Add missing break;
+ (debug_displays): Enable the display of the .debug_pubtypes
+ section.
+
2004-03-30 Stan Shebs <shebs@apple.com>
* mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
diff --git a/binutils/readelf.c b/binutils/readelf.c
index c8d6ad9..4db0a10 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -6794,7 +6794,7 @@ display_debug_pubnames (Elf_Internal_Shdr *section,
if (offset != 0)
{
data += offset_size;
- printf (" %ld\t\t%s\n", offset, data);
+ printf (" %-6ld\t\t%s\n", offset, data);
data += strlen ((char *) data) + 1;
}
}
@@ -7968,6 +7968,7 @@ read_and_display_attr_value (unsigned long attribute,
case DW_FORM_addr:
printf (" %#lx", uvalue);
+ break;
case DW_FORM_flag:
case DW_FORM_data1:
@@ -9354,7 +9355,7 @@ debug_displays[] =
{ ".debug_macinfo", display_debug_macinfo },
{ ".debug_str", display_debug_str },
{ ".debug_loc", display_debug_loc },
- { ".debug_pubtypes", display_debug_not_supported },
+ { ".debug_pubtypes", display_debug_pubnames },
{ ".debug_ranges", display_debug_not_supported },
{ ".debug_static_func", display_debug_not_supported },
{ ".debug_static_vars", display_debug_not_supported },