summaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-22 00:36:57 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-22 00:36:57 +0000
commit101edd3f3187e38542b6dc380bb9134203c065f3 (patch)
treecf1e36f4233edd36e37aa05a7b1997945f4da90b /linuxthreads
parentbafb8ee92fbb5937357d53b8b9275c99e9da1cfe (diff)
Update.
* nscd/connections.c (nscd_run): Pretty print. * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog2
-rw-r--r--linuxthreads/manager.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 06e458437e..aaee2e7d58 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,7 @@
2000-03-21 Ulrich Drepper <drepper@redhat.com>
+ * manager.c (__pthread_manager): Unmask debug signal.
+
* pthread.c (pthread_initialize): Test for address of __dso_handle
being NULL, not value. Use __on_exit, not on_exit.
Patch by Andreas Jaeger <aj@suse.de>.
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index 21a692847f..4aa598bb9e 100644
--- a/linuxthreads/manager.c
+++ b/linuxthreads/manager.c
@@ -115,6 +115,8 @@ int __pthread_manager(void *arg)
sigfillset(&mask);
sigdelset(&mask, __pthread_sig_cancel); /* for thread termination */
sigdelset(&mask, SIGTRAP); /* for debugging purposes */
+ if (__pthread_threads_debug && __pthread_sig_debug > 0)
+ sigdelset(&mask, __pthread_sig_debug);
sigprocmask(SIG_SETMASK, &mask, NULL);
/* Raise our priority to match that of main thread */
__pthread_manager_adjust_prio(__pthread_main_thread->p_priority);