* symfile.c (add_symbol_file_command): Use paddress rather than
authorAdam Nemet <anemet@caviumnetworks.com>
Sun, 4 May 2008 03:45:42 +0000 (03:45 +0000)
committerAdam Nemet <anemet@caviumnetworks.com>
Sun, 4 May 2008 03:45:42 +0000 (03:45 +0000)
hex_string to print the address.

gdb/ChangeLog
gdb/symfile.c

index 2f8573f90eff928828921d230342b1d615406917..5a002a79b1765cda749eb83cefbb757b3661136b 100644 (file)
@@ -1,3 +1,8 @@
+2008-05-03  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * symfile.c (add_symbol_file_command):  Use paddress rather than
+       hex_string to print the address.
+
 2008-05-03  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * rs6000-tdep.c (rs6000_frame_this_id): If info->base is 0,
index 8e6513225722d77c4126f6a480dadf386bbb85db..d991c154a78c78649f1f3220122ac53fad7e9367 100644 (file)
@@ -2239,8 +2239,7 @@ add_symbol_file_command (char *args, int from_tty)
          entered on the command line. */
       section_addrs->other[sec_num].name = sec;
       section_addrs->other[sec_num].addr = addr;
-      printf_unfiltered ("\t%s_addr = %s\n",
-                      sec, hex_string ((unsigned long)addr));
+      printf_unfiltered ("\t%s_addr = %s\n", sec, paddress (addr));
       sec_num++;
 
       /* The object's sections are initialized when a