diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-02-25 22:12:12 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-02-25 22:12:12 +0000 |
commit | 35515c66de79029bd4ccfdc9f35f32ebe643f358 (patch) | |
tree | d5f2786d0e0bc128573fb4ec5e402de005c5534c /binutils | |
parent | 1978907b39dafc1deccca50d25699fb4c0636dd0 (diff) | |
download | gdb-35515c66de79029bd4ccfdc9f35f32ebe643f358.zip gdb-35515c66de79029bd4ccfdc9f35f32ebe643f358.tar.gz gdb-35515c66de79029bd4ccfdc9f35f32ebe643f358.tar.bz2 |
2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (display_debug_ranges): Print out offset for end of
list.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 08675d4..56e3581 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2005-02-25 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (display_debug_ranges): Print out offset for end of + list. + 2005-02-23 Alan Modra <amodra@bigpond.net.au> * dlltool.c: Warning fixes. diff --git a/binutils/readelf.c b/binutils/readelf.c index 75be6c4..ecf0133 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -9831,7 +9831,10 @@ display_debug_ranges (Elf_Internal_Shdr *section, start += pointer_size; if (begin == 0 && end == 0) - break; + { + printf (_(" %8.8lx <End of list>\n"), offset); + break; + } /* Check base address specifiers. */ if (begin == -1UL && end != -1UL) @@ -9852,7 +9855,6 @@ display_debug_ranges (Elf_Internal_Shdr *section, putchar ('\n'); } - fputs (_(" <End of list>\n"), stdout); } } putchar ('\n'); |