* linux-low.c (linux_kill_one_lwp): Adjust kernel workaround to skip

the main thread again.
This commit is contained in:
Daniel Jacobowitz 2009-07-28 17:44:29 +00:00
parent 79626f8a5f
commit 12b42a1250
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
* linux-low.c (linux_kill_one_lwp): Adjust kernel workaround to skip
the main thread again.
2009-07-06 Aleksandar Ristovski <aristovski@qnx.com>
Adding Neutrino gdbserver.

View File

@ -589,7 +589,7 @@ linux_kill_one_lwp (struct inferior_list_entry *entry, void *args)
the children get a chance to be reaped, it will remain a zombie
forever. */
if (last_thread_of_process_p (thread))
if (lwpid_of (lwp) == pid)
{
if (debug_threads)
fprintf (stderr, "lkop: is last of process %s\n",