mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-14 15:50:34 +00:00
* linux-nat.c (lin_lwp_attach_lwp): For !WIPSTOPPED case,
adding missing call to restore_child_signals_mask.
This commit is contained in:
parent
b44f3f638e
commit
673c2bbeab
@ -1,3 +1,8 @@
|
||||
2011-05-09 Doug Evans <dje@google.com>
|
||||
|
||||
* linux-nat.c (lin_lwp_attach_lwp): For !WIPSTOPPED case,
|
||||
adding missing call to restore_child_signals_mask.
|
||||
|
||||
2011-05-09 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* inferior.h (wait_for_inferior): Remove `thread_exec_as_sigtrap'
|
||||
|
@ -1476,7 +1476,10 @@ lin_lwp_attach_lwp (ptid_t ptid)
|
||||
|
||||
status = linux_nat_post_attach_wait (ptid, 0, &cloned, &signalled);
|
||||
if (!WIFSTOPPED (status))
|
||||
return -1;
|
||||
{
|
||||
restore_child_signals_mask (&prev_mask);
|
||||
return -1;
|
||||
}
|
||||
|
||||
lp = add_lwp (ptid);
|
||||
lp->stopped = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user