From: H.J. Lu Date: Wed, 5 Jan 2005 17:29:41 +0000 (+0000) Subject: 2005-01-05 H.J. Lu X-Git-Tag: gdb-pre-i18n-errorwarning-20050211~429 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e54b12b7797ece3410070f0d634b8ba9117dc1e1;p=thirdparty%2Fbinutils-gdb.git 2005-01-05 H.J. Lu * readelf.c (display_debug_loc): Display base address specifiers. Always output . --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8fddbabaaf1..02ddaea2796 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2005-01-05 H.J. Lu + + * readelf.c (display_debug_loc): Display base address + specifiers. Always output . + 2005-01-05 H.J. Lu * readelf.c (have_frame_base): New. diff --git a/binutils/readelf.c b/binutils/readelf.c index c12e970817d..3fb94e86b45 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -9550,6 +9550,8 @@ display_debug_loc (Elf_Internal_Shdr *section, if (begin == -1UL && end != -1UL) { base_address = end; + printf (" %8.8lx %8.8lx %8.8lx (base address)\n", + offset, begin, end); continue; } @@ -9577,9 +9579,7 @@ display_debug_loc (Elf_Internal_Shdr *section, start += length; } - if (j < debug_information [i].num_loc_offsets -1) - printf (_(" ")); - printf ("\n"); + fputs (_(" \n"), stdout); } } return 1;