diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-04-17 19:14:54 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-04-17 19:14:54 +0000 |
commit | b95697738e1779fa6f9d337ec5a83cd5be6ba8dd (patch) | |
tree | e36f0b24aa55f8151e769924e8e1ce6b9db6c36f /gdb | |
parent | 81490ea1cb9493404e7a8df7866bd38b13320ab8 (diff) | |
download | gdb-b95697738e1779fa6f9d337ec5a83cd5be6ba8dd.zip gdb-b95697738e1779fa6f9d337ec5a83cd5be6ba8dd.tar.gz gdb-b95697738e1779fa6f9d337ec5a83cd5be6ba8dd.tar.bz2 |
2001-04-17 Michael Snyder <msnyder@redhat.com>
* thread-db.c (check_thread_signals): When looping over all
signals, ignore signal zero.
(disable_thread_signals): Ditto.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/thread-db.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a604d4c..d5d4d49 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-04-17 Michael Snyder <msnyder@redhat.com> + + * thread-db.c (check_thread_signals): When looping over all + signals, ignore signal zero. + (disable_thread_signals): Ditto. + 2001-04-17 Eirik Fuller <eirik@netapp.com> * thread.c (do_captured_thread_select): Allow the argument to the diff --git a/gdb/thread-db.c b/gdb/thread-db.c index 956d0d8..e357751 100644 --- a/gdb/thread-db.c +++ b/gdb/thread-db.c @@ -469,7 +469,7 @@ check_thread_signals (void) sigemptyset (&thread_stop_set); sigemptyset (&thread_print_set); - for (i = 0; i < NSIG; i++) + for (i = 1; i < NSIG; i++) { if (sigismember (&mask, i)) { @@ -492,7 +492,7 @@ disable_thread_signals (void) { int i; - for (i = 0; i < NSIG; i++) + for (i = 1; i < NSIG; i++) { if (sigismember (&thread_stop_set, i)) signal_stop_update (target_signal_from_host (i), 1); |