diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-04-06 01:52:34 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-04-06 01:52:34 +0000 |
commit | f5db4da3d7f08133f75fa72f6686def669326bfd (patch) | |
tree | 71f4a97851bb9f328dd931fe9a3d6015d47824c3 /gdb/cli/cli-dump.c | |
parent | ad3dcc5cf209922b20c8c17bbd0561289430ba4e (diff) | |
download | gdb-f5db4da3d7f08133f75fa72f6686def669326bfd.zip gdb-f5db4da3d7f08133f75fa72f6686def669326bfd.tar.gz gdb-f5db4da3d7f08133f75fa72f6686def669326bfd.tar.bz2 |
2002-04-05 Michael Snyder <msnyder@redhat.com>
* cli/cli-dump.c (restore_section_callback): Use paddr_nz.
Diffstat (limited to 'gdb/cli/cli-dump.c')
-rw-r--r-- | gdb/cli/cli-dump.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c index 6584d5e..1edcfe2 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"); |