OSDN Git Service

* 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)
commit41cae454c5b9baca7bb99f8b418edafdd080a005
tree5b016b65fc5518a849512fe4dfa2f154c2146620
parentbdfc7cb1d6850a534ced990e03253daad5589b2e
* 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