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.
This commit is contained in:
Michael Snyder 2001-04-17 19:14:54 +00:00
parent 81490ea1cb
commit b95697738e
2 changed files with 8 additions and 2 deletions

View File

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

View File

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