diff options
author | Stan Shebs <shebs@apple.com> | 1999-09-08 23:58:56 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 1999-09-08 23:58:56 +0000 |
commit | 86d990163cfccd9d3e2d278046a9835e8fcd9cdd (patch) | |
tree | 20bab847f75a795e533db18873a64ab0bc4facef /gdb/maint.c | |
parent | 8a6785e8d98eea17ad6e1454b2ef3ae473872854 (diff) | |
download | gdb-86d990163cfccd9d3e2d278046a9835e8fcd9cdd.tar.gz |
import gdb-1999-09-08 snapshotgdb-1999-09-08
Diffstat (limited to 'gdb/maint.c')
-rw-r--r-- | gdb/maint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/maint.c b/gdb/maint.c index c257613497f..725c6c5d64a 100644 --- a/gdb/maint.c +++ b/gdb/maint.c @@ -347,13 +347,13 @@ maintenance_translate_address (arg, from_tty) sym = lookup_minimal_symbol_by_pc (address); if (sym) - printf_filtered ("%s+%u\n", + printf_filtered ("%s+%s\n", SYMBOL_SOURCE_NAME (sym), - address - SYMBOL_VALUE_ADDRESS (sym)); + paddr_u (address - SYMBOL_VALUE_ADDRESS (sym))); else if (sect) - printf_filtered ("no symbol at %s:0x%08x\n", sect->name, address); + printf_filtered ("no symbol at %s:0x%s\n", sect->name, paddr (address)); else - printf_filtered ("no symbol at 0x%08x\n", address); + printf_filtered ("no symbol at 0x%s\n", paddr (address)); return; } |