projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GDBserver: Pass process_info pointer to target_kill
[deliverable/binutils-gdb.git]
/
gdb
/
gdbserver
/
nto-low.c
diff --git
a/gdb/gdbserver/nto-low.c
b/gdb/gdbserver/nto-low.c
index 05ab6fc4edf9d44b667cd1a896586bc4d8e99deb..0f763679d001b97e08868984ea203e2c7eccd466 100644
(file)
--- 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 ();
This page took
0.023804 seconds
and
4
git commands to generate.