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.
+2014-07-16 Pedro Alves <palves@redhat.com>
+
+ * linux-nat.c (kill_callback): Use kill_lwp, not kill.
+
2014-07-16 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_delete_record>: Reformat
+2014-07-16 Pedro Alves <palves@redhat.com>
+
+ * linux-low.c (linux_kill_one_lwp): Use kill_lwp, not kill.
+
2014-07-15 Pedro Alves <palves@redhat.com>
* linux-low.c (linux_kill_one_lwp): Save errno and work with saved
everywhere. */
errno = 0;
- kill (pid, SIGKILL);
+ kill_lwp (pid, SIGKILL);
if (debug_threads)
{
int save_errno = errno;
/* PTRACE_KILL may resume the inferior. Send SIGKILL first. */
errno = 0;
- kill (ptid_get_lwp (lp->ptid), SIGKILL);
+ kill_lwp (ptid_get_lwp (lp->ptid), SIGKILL);
if (debug_linux_nat)
{
int save_errno = errno;