]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/gdbserver/linux-low.c
Linux: Use kill_lwp/tkill instead of kill when killing a process
authorPedro Alves <palves@redhat.com>
Wed, 16 Jul 2014 19:06:55 +0000 (20:06 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 16 Jul 2014 19:06:55 +0000 (20:06 +0100)
commit69ff6be55c0e6181223f2b9c93d90ffc9f7fb0f5
treed58a3956816b7d81fac74350ab5896804cd6dc11
parent1b5d0ab34c53d6e896d2c0958b1176e324bb7878
Linux: Use kill_lwp/tkill instead of kill when killing a process

Since we use tkill everywhere, using kill to try to kill each lwp
individually looks suspiciously odd.  We should really be using tgkill
everywhere, but at least while we don't get there this makes us
consistent.

gdb/gdbserver/
2014-07-16  Pedro Alves  <palves@redhat.com>

* linux-low.c (linux_kill_one_lwp): Use kill_lwp, not kill.

gdb/
2014-07-16  Pedro Alves  <palves@redhat.com>

* linux-nat.c (kill_callback): Use kill_lwp, not kill.
gdb/ChangeLog
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/linux-nat.c