* linux-low.c (linux_kill_one_lwp): Adjust kernel workaround to skip
the main thread again.
This commit is contained in:
parent
79626f8a5f
commit
12b42a1250
@ -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.
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user