ARI fix: Do not use %p, replace by call to host_address_to_string

for host pointers.
	* darwin-nat.c (darwin_xfer_partial): Apply change.
	* gnu-nat.c (inf_continue, gnu_xfer_memory): Ditto.
	* gnu-nat.h (proc_debug): Ditto.
	* symmisc.c (maintenance_info_symtabs): Ditto.
	(maintenance_info_psymtabs): Ditto.
	* windows-nat.c (handle_load_dll): Ditto.
	(handle_unload_dll, info_w32_command, handle_exception): Ditto.
	* xtensa-tdep.c (xtensa_unwind_pc): Ditto.
This commit is contained in:
Pierre Muller
2009-04-17 15:44:28 +00:00
parent d911860251
commit a74ce742ff
7 changed files with 54 additions and 27 deletions

View File

@@ -1197,8 +1197,10 @@ darwin_xfer_partial (struct target_ops *ops,
gdb_byte *readbuf, const gdb_byte *writebuf,
ULONGEST offset, LONGEST len)
{
inferior_debug (8, _("darwin_xfer_partial(%s, %d, rbuf=%p, wbuf=%p)\n"),
core_addr_to_string (offset), (int)len, readbuf, writebuf);
inferior_debug (8, _("darwin_xfer_partial(%s, %d, rbuf=%s, wbuf=%s)\n"),
core_addr_to_string (offset), (int)len,
host_address_to_string (readbuf),
host_address_to_string (writebuf));
if (object != TARGET_OBJECT_MEMORY)
return -1;