buffer->saved_copy.data (), len);
displaced_debug_printf ("restored %s %s",
- target_pid_to_str (thread->ptid).c_str (),
+ thread->ptid.to_string ().c_str (),
paddress (arch, buffer->addr));
regcache *rc = get_thread_regcache (thread);
write_memory_ptid (ptid, buffer.addr, buffer.saved_copy.data (), len);
displaced_debug_printf ("restored in ptid %s %s",
- target_pid_to_str (ptid).c_str (),
+ ptid.to_string ().c_str (),
paddress (arch, buffer.addr));
}
}