aboutsummaryrefslogtreecommitdiff
path: root/gdb/darwin-nat.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-06-22 08:24:29 +0000
committerTristan Gingold <gingold@adacore.com>2009-06-22 08:24:29 +0000
commit854f4b0e951a61aba2f26caa33dda765ce3a1f88 (patch)
tree70cb051984457baf7146ce5606cb8ba83ba5305e /gdb/darwin-nat.c
parentd297e80737e98fc5ded18a26837b0178daa539b8 (diff)
downloadgdb-854f4b0e951a61aba2f26caa33dda765ce3a1f88.zip
gdb-854f4b0e951a61aba2f26caa33dda765ce3a1f88.tar.gz
gdb-854f4b0e951a61aba2f26caa33dda765ce3a1f88.tar.bz2
(committed as obvious)
2009-06-22 Tristan Gingold <gingold@adacore.com> * darwin-nat.c (darwin_xfer_partial): Use host_address_to_string instead of "%p".
Diffstat (limited to 'gdb/darwin-nat.c')
-rw-r--r--gdb/darwin-nat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index 55f0b7e..237c465 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -1772,8 +1772,10 @@ darwin_xfer_partial (struct target_ops *ops,
struct inferior *inf = current_inferior ();
inferior_debug
- (8, _("darwin_xfer_partial(%s, %d, rbuf=%p, wbuf=%p) pid=%u\n"),
- core_addr_to_string (offset), (int)len, readbuf, writebuf, inf->pid);
+ (8, _("darwin_xfer_partial(%s, %d, rbuf=%s, wbuf=%s) pid=%u\n"),
+ core_addr_to_string (offset), (int)len,
+ host_address_to_string (readbuf), host_address_to_string (writebuf),
+ inf->pid);
if (object != TARGET_OBJECT_MEMORY)
return -1;