From 8f76255422dafe2a7d2843331b9cb8e8f393a2e6 Mon Sep 17 00:00:00 2001 From: dfr Date: Fri, 26 Dec 2003 12:11:16 +0000 Subject: Don't block SIGTRAP - it makes it hard to debug programs with gdb. Reviewed by: mtm --- lib/libthr/thread/thr_kern.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/libthr/thread/thr_kern.c b/lib/libthr/thread/thr_kern.c index 5de6051..516c570 100644 --- a/lib/libthr/thread/thr_kern.c +++ b/lib/libthr/thread/thr_kern.c @@ -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) -- cgit v1.1