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

Reviewed by: mtm
This commit is contained in:
dfr 2003-12-26 12:11:16 +00:00
parent de5cd0573f
commit 8f76255422

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)