(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".
This commit is contained in:
Tristan Gingold 2009-06-22 08:24:29 +00:00
parent d297e80737
commit 854f4b0e95
1 changed files with 4 additions and 2 deletions

View 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;