/* Displaced stepping related things.
- Copyright (C) 2020-2021 Free Software Foundation, Inc.
+ Copyright (C) 2020-2022 Free Software Foundation, Inc.
This file is part of GDB.
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));
}
}