From 854f4b0e951a61aba2f26caa33dda765ce3a1f88 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 22 Jun 2009 08:24:29 +0000 Subject: [PATCH] (committed as obvious) 2009-06-22 Tristan Gingold * darwin-nat.c (darwin_xfer_partial): Use host_address_to_string instead of "%p". --- gdb/darwin-nat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index 55f0b7ee754..237c4652cd8 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; -- 2.30.2