aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/nto-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/nto-low.c')
-rw-r--r--gdb/gdbserver/nto-low.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/gdbserver/nto-low.c b/gdb/gdbserver/nto-low.c
index 05ab6fc..0f76367 100644
--- a/gdb/gdbserver/nto-low.c
+++ b/gdb/gdbserver/nto-low.c
@@ -397,8 +397,10 @@ nto_attach (unsigned long pid)
/* Send signal to process PID. */
static int
-nto_kill (int pid)
+nto_kill (process_info *proc)
{
+ int pid = proc->pid;
+
TRACE ("%s %d\n", __func__, pid);
kill (pid, SIGKILL);
do_detach ();