From: Michael Snyder Date: Sat, 6 Apr 2002 01:52:34 +0000 (+0000) Subject: 2002-04-05 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5db4da3d7f08133f75fa72f6686def669326bfd;p=binutils-gdb.git 2002-04-05 Michael Snyder * cli/cli-dump.c (restore_section_callback): Use paddr_nz. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 69c438959b8..01b00bf8cf8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-04-05 Michael Snyder + + * cli/cli-dump.c (restore_section_callback): Use paddr_nz. + 2002-04-05 H.J. Lu (hjl@gnu.org) * solib-svr4.c (bkpt_names): Add "__start". diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c index 6584d5ec409..1edcfe26d1b 100644 --- a/gdb/cli/cli-dump.c +++ b/gdb/cli/cli-dump.c @@ -527,11 +527,11 @@ restore_section_callback (bfd *ibfd, asection *isec, void *args) (unsigned long) sec_end); if (data->load_offset != 0 || data->load_start != 0 || data->load_end != 0) - printf_filtered (" into memory (0x%lx to 0x%lx)\n", - (unsigned long) sec_start - + sec_offset + data->load_offset, - (unsigned long) sec_start + sec_offset - + data->load_offset + sec_load_count); + printf_filtered (" into memory (0x%s to 0x%s)\n", + paddr_nz ((unsigned long) sec_start + + sec_offset + data->load_offset), + paddr_nz ((unsigned long) sec_start + sec_offset + + data->load_offset + sec_load_count)); else puts_filtered ("\n");