GDBserver: Pass process_info pointer to target_detach and target_join
[binutils-gdb.git] / gdb / gdbserver / nto-low.c
index 236e555714e34a3bf2db6b844eb2320af6f5b741..05ab6fc4edf9d44b667cd1a896586bc4d8e99deb 100644 (file)
@@ -408,9 +408,9 @@ nto_kill (int pid)
 /* Detach from process PID.  */
 
 static int
-nto_detach (int pid)
+nto_detach (process_info *proc)
 {
-  TRACE ("%s %d\n", __func__, pid);
+  TRACE ("%s %d\n", __func__, proc->pid);
   do_detach ();
   return 0;
 }