diff options
author | Pierre Muller <muller@sourceware.org> | 2010-09-10 16:17:14 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2010-09-10 16:17:14 +0000 |
commit | 3329c4b5af72fec17d4ac07f49edf9c8cfb6f23b (patch) | |
tree | 24d27ec3b4ab57a9b614ed52ae40b6f2ec82e064 /gdb/monitor.c | |
parent | 5e8db3985c2f510fead393fe1feefcc93e2031de (diff) | |
download | gdb-3329c4b5af72fec17d4ac07f49edf9c8cfb6f23b.zip gdb-3329c4b5af72fec17d4ac07f49edf9c8cfb6f23b.tar.gz gdb-3329c4b5af72fec17d4ac07f49edf9c8cfb6f23b.tar.bz2 |
* hppa-tdep.c (unwind_command): Use host_address_to_string function
to display a host address.
* monitor.c (monitor_read_memory): Likewise.
* xtensa-tdep.c (xtensa_push_dummy_call): Likewise.
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r-- | gdb/monitor.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c index 95e6a63..4f9ff55 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -1835,8 +1835,9 @@ monitor_read_memory (CORE_ADDR memaddr, char *myaddr, int len) return 0; } - monitor_debug ("MON read block ta(%s) ha(%lx) %d\n", - paddress (target_gdbarch, memaddr), (long) myaddr, len); + monitor_debug ("MON read block ta(%s) ha(%s) %d\n", + paddress (target_gdbarch, memaddr), + host_address_to_string (myaddr), len); if (current_monitor->flags & MO_ADDR_BITS_REMOVE) memaddr = gdbarch_addr_bits_remove (target_gdbarch, memaddr); @@ -1924,7 +1925,8 @@ monitor_read_memory (CORE_ADDR memaddr, char *myaddr, int len) p += strlen (current_monitor->getmem.resp_delim); #endif } - monitor_debug ("MON scanning %d ,%lx '%s'\n", len, (long) p, p); + monitor_debug ("MON scanning %d ,%s '%s'\n", len, + host_address_to_string (p), p); if (current_monitor->flags & MO_GETMEM_16_BOUNDARY) { char c; |