mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user