Don't block SIGTRAP - it makes it hard to debug programs with gdb.
Reviewed by: mtm
This commit is contained in:
parent
4da7d0f5dd
commit
795a502646
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123862
@ -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