* lin-lwp.c (normal_mask, blocked_mask): New variables.
authorMark Kettenis <kettenis@gnu.org>
Sat, 9 Sep 2000 07:54:20 +0000 (07:54 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 9 Sep 2000 07:54:20 +0000 (07:54 +0000)
commit3f07c44bc9f1a80bdf5b44f363a6d85a7e07f8aa
tree19d5cca0e4ad3762294c4881ed57e36b05031117
parent7318608963cb576278b3cd025aa60ee2671e2861
* lin-lwp.c (normal_mask, blocked_mask): New variables.
(lin_lwp_wait): Block SIGCHLD here if it isn't already blocked.
(lin_lwp_mourn_inferior): Restore the origional signal mask, and
reset the mask of blocked signals.
(_initialize_lin_lwp): Don't block SIGCHLD here, but do initialize
suspend_mask and blocked_mask.  This makes us pass
gdb.base/sigall.exp for Linux/x86 now.
(lin_thread_get_thread_signals): Treat the LinuxThreads "cancel"
signal similarly to SIGCHLD in the generic code.  Avoids GDB being
terminated by a Real-time signal.
gdb/ChangeLog
gdb/lin-lwp.c