Don't block SIGTRAP - it makes it hard to debug programs with gdb.
Reviewed by: mtm
This commit is contained in:
parent
de5cd0573f
commit
8f76255422
@ -78,6 +78,7 @@ _thread_sigblock()
|
||||
#ifdef _PTHREADS_INVARIANTS
|
||||
SIGDELSET(set, SIGABRT);
|
||||
#endif
|
||||
SIGDELSET(set, SIGTRAP);
|
||||
|
||||
/* If we have already blocked signals, just up the refcount */
|
||||
if (++curthread->signest > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user