diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-05-27 16:55:39 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-05-27 16:55:39 +0000 |
commit | 432b4d03ad0f23970315e9f9dec080ab4a9ab94b (patch) | |
tree | dca5dae7862561846b88a6eb4f7bcfb562685d46 /sim | |
parent | b0f260d61e5b5b3de1fcac6042f4b225bf132d45 (diff) | |
download | gdb-432b4d03ad0f23970315e9f9dec080ab4a9ab94b.zip gdb-432b4d03ad0f23970315e9f9dec080ab4a9ab94b.tar.gz gdb-432b4d03ad0f23970315e9f9dec080ab4a9ab94b.tar.bz2 |
gdb/
Fix PR 10970, PR 12702.
* linux-nat.c (linux_lwp_is_zombie): New function.
(wait_lwp): Initialize status. New variable prev_mask. Block signals.
Check for linux_lwp_is_zombie. Use WNOHANG and sigsuspend.
gdb/testsuite/
* gdb.threads/leader-exit.c: New file.
* gdb.threads/leader-exit.exp: New file.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions