(committed as obvious)
authorTristan Gingold <gingold@adacore.com>
Mon, 22 Jun 2009 08:24:29 +0000 (08:24 +0000)
committerTristan Gingold <gingold@adacore.com>
Mon, 22 Jun 2009 08:24:29 +0000 (08:24 +0000)
2009-06-22  Tristan Gingold  <gingold@adacore.com>

* darwin-nat.c (darwin_xfer_partial): Use host_address_to_string
instead of "%p".

gdb/darwin-nat.c

index 55f0b7ee754f4bf87b41dff834ccd876f7084ca5..237c4652cd86978400e4789e571c12204444d98b 100644 (file)
@@ -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;