diff options
author | Daniel Jacobowitz <drow@false.org> | 2009-07-28 17:44:29 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2009-07-28 17:44:29 +0000 |
commit | 12b42a12507a884c4e78b2a8c31ecab4d4534ae6 (patch) | |
tree | 284f832a361ea39662ebc8b45fcca387c9edfaae /gdb/gdbserver/linux-low.c | |
parent | 79626f8a5fa0dbd735b2f510b938546cceb6ffae (diff) | |
download | gdb-12b42a12507a884c4e78b2a8c31ecab4d4534ae6.zip gdb-12b42a12507a884c4e78b2a8c31ecab4d4534ae6.tar.gz gdb-12b42a12507a884c4e78b2a8c31ecab4d4534ae6.tar.bz2 |
* linux-low.c (linux_kill_one_lwp): Adjust kernel workaround to skip
the main thread again.
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r-- | gdb/gdbserver/linux-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 5284a98..6d677f2 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -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", |