diff options
author | Pierre Muller <muller@sourceware.org> | 2009-04-17 15:44:28 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2009-04-17 15:44:28 +0000 |
commit | a74ce742ff4d9d7f8c207852d8b51234f661b532 (patch) | |
tree | 6c7e1c941f1cad94dab90297e625ab24b76d98f0 /gdb/darwin-nat.c | |
parent | d9118602518511148f81961bbdd632439db10a19 (diff) | |
download | gdb-a74ce742ff4d9d7f8c207852d8b51234f661b532.zip gdb-a74ce742ff4d9d7f8c207852d8b51234f661b532.tar.gz gdb-a74ce742ff4d9d7f8c207852d8b51234f661b532.tar.bz2 |
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.
Diffstat (limited to 'gdb/darwin-nat.c')
-rw-r--r-- | gdb/darwin-nat.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; |