aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/remote-utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/remote-utils.cc')
-rw-r--r--gdbserver/remote-utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/remote-utils.cc b/gdbserver/remote-utils.cc
index a4cc326..5bc261a 100644
--- a/gdbserver/remote-utils.cc
+++ b/gdbserver/remote-utils.cc
@@ -1087,7 +1087,7 @@ prepare_resume_reply (char *buf, ptid_t ptid,
client_state &cs = get_client_state ();
if (debug_threads)
debug_printf ("Writing resume reply for %s:%d\n",
- target_pid_to_str (ptid), status->kind ());
+ target_pid_to_str (ptid).c_str (), status->kind ());
switch (status->kind ())
{