gdbserver: turn target op 'detach' into a method
[deliverable/binutils-gdb.git] / gdbserver / nto-low.cc
index 77b5fce4c50a8e8fb6a2b0f42ee1137b0d9e3b56..ceff0d432e5f916330321b1674f97162c6e8fcc9 100644 (file)
@@ -396,8 +396,8 @@ nto_process_target::attach (unsigned long pid)
 
 /* Send signal to process PID.  */
 
-static int
-nto_kill (process_info *proc)
+int
+nto_process_target::kill (process_info *proc)
 {
   int pid = proc->pid;
 
@@ -409,8 +409,8 @@ nto_kill (process_info *proc)
 
 /* Detach from process PID.  */
 
-static int
-nto_detach (process_info *proc)
+int
+nto_process_target::detach (process_info *proc)
 {
   TRACE ("%s %d\n", __func__, proc->pid);
   do_detach ();
@@ -935,8 +935,6 @@ nto_sw_breakpoint_from_kind (int kind, int *size)
 static nto_process_target the_nto_target;
 
 static process_stratum_target nto_target_ops = {
-  nto_kill,
-  nto_detach,
   nto_mourn,
   NULL, /* nto_join */
   nto_thread_alive,
This page took 0.029812 seconds and 4 git commands to generate.