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 /gdb/ChangeLog | |
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 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2e6f3ff..c9a0ff5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com> + Doug Evans <dje@google.com> + + 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. + 2011-05-27 Pedro Alves <pedro@codesourcery.com> * defs.h (continuation_ftype, continuation_free_arg_ftype): New |