gdb: include gdbsupport/buildargv.h in ser-mingw.c
[binutils-gdb.git] / gdb / displaced-stepping.c
index 43fc435305eae5b8a368c251d032f0f980dd94fd..e2afbe42f582f43a950571dc1ecb34688e472416 100644 (file)
@@ -232,7 +232,7 @@ displaced_step_buffers::finish (gdbarch *arch, thread_info *thread,
                     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);
@@ -285,7 +285,7 @@ displaced_step_buffers::restore_in_ptid (ptid_t ptid)
       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));
     }
 }