Don't block SIGTRAP - it makes it hard to debug programs with gdb.

Reviewed by: mtm
This commit is contained in:
Doug Rabson 2003-12-26 12:11:16 +00:00
parent 4da7d0f5dd
commit 795a502646
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123862

View File

@ -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)