2002-04-05 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Sat, 6 Apr 2002 01:52:34 +0000 (01:52 +0000)
committerMichael Snyder <msnyder@vmware.com>
Sat, 6 Apr 2002 01:52:34 +0000 (01:52 +0000)
* cli/cli-dump.c (restore_section_callback): Use paddr_nz.

gdb/ChangeLog
gdb/cli/cli-dump.c

index 69c438959b83282551020d4fd487beea0025bd78..01b00bf8cf8b977dab3af5348ae9a712de8d6a63 100644 (file)
@@ -1,3 +1,7 @@
+2002-04-05  Michael Snyder  <msnyder@redhat.com>
+
+       * 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".
index 6584d5ec409926a583e511eb6eb15d0d6c1ec1d6..1edcfe26d1bd1c3136f965c8f2627e992624547f 100644 (file)
@@ -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");