diff options
author | Adam Nemet <anemet@caviumnetworks.com> | 2008-05-04 03:45:42 +0000 |
---|---|---|
committer | Adam Nemet <anemet@caviumnetworks.com> | 2008-05-04 03:45:42 +0000 |
commit | 35076fa03e416e22ac510215bce1eaa0944e61ab (patch) | |
tree | ee4918c1f36221ec039755b0bc49226719270e63 /gdb/symfile.c | |
parent | 5b19791236a18dafef77545101eb3a70bb5a03e1 (diff) | |
download | gdb-35076fa03e416e22ac510215bce1eaa0944e61ab.zip gdb-35076fa03e416e22ac510215bce1eaa0944e61ab.tar.gz gdb-35076fa03e416e22ac510215bce1eaa0944e61ab.tar.bz2 |
* symfile.c (add_symbol_file_command): Use paddress rather than
hex_string to print the address.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 8e65132..d991c15 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 |