From a74ce742ff4d9d7f8c207852d8b51234f661b532 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Fri, 17 Apr 2009 15:44:28 +0000 Subject: 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. --- gdb/darwin-nat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gdb/darwin-nat.c') diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index abe285c..dc51ec6 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -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; -- cgit v1.1