mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 05:00:01 +00:00
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:
parent
81490ea1cb
commit
b95697738e
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user