diff options
Diffstat (limited to 'gdb/linux-thread.c')
-rw-r--r-- | gdb/linux-thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/linux-thread.c b/gdb/linux-thread.c index df982a6..3e72ab4 100644 --- a/gdb/linux-thread.c +++ b/gdb/linux-thread.c @@ -1800,4 +1800,6 @@ _initialize_linuxthreads () sigprocmask(SIG_BLOCK, &linuxthreads_wait_mask, &linuxthreads_block_mask); + /* Make sure that linuxthreads_block_mask is not blocking SIGCHLD */ + sigdelset (&linuxthreads_block_mask, SIGCHLD); } |