From: Adam Nemet Date: Sun, 4 May 2008 03:45:42 +0000 (+0000) Subject: * symfile.c (add_symbol_file_command): Use paddress rather than X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35076fa03e416e22ac510215bce1eaa0944e61ab;p=binutils-gdb.git * symfile.c (add_symbol_file_command): Use paddress rather than hex_string to print the address. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2f8573f90ef..5a002a79b17 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-05-03 Adam Nemet + + * symfile.c (add_symbol_file_command): Use paddress rather than + hex_string to print the address. + 2008-05-03 Ulrich Weigand * rs6000-tdep.c (rs6000_frame_this_id): If info->base is 0, diff --git a/gdb/symfile.c b/gdb/symfile.c index 8e651322572..d991c154a78 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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