aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-04-06 01:52:34 +0000
committerMichael Snyder <msnyder@vmware.com>2002-04-06 01:52:34 +0000
commitf5db4da3d7f08133f75fa72f6686def669326bfd (patch)
tree71f4a97851bb9f328dd931fe9a3d6015d47824c3 /gdb/cli
parentad3dcc5cf209922b20c8c17bbd0561289430ba4e (diff)
downloadgdb-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')
-rw-r--r--gdb/cli/cli-dump.c10
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");