2011-09-09 Pedro Alves <pedro@codesourcery.com>
* linux-nat.c (lin_lwp_attach_lwp): Return 1 (ignore) instead of -1 (error), if the lwp exits right after attaching.
This commit is contained in:
parent
e777132256
commit
f687d03564
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-09-09 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* linux-nat.c (lin_lwp_attach_lwp): Return 1 (ignore) instead of
|
||||
-1 (error), if the lwp exits right after attaching.
|
||||
|
||||
2011-09-08 Doug Evans <dje@google.com>
|
||||
|
||||
* py-cmd.c: Some minor formatting fixes.
|
||||
|
|
|
@ -1479,7 +1479,7 @@ lin_lwp_attach_lwp (ptid_t ptid)
|
|||
if (!WIFSTOPPED (status))
|
||||
{
|
||||
restore_child_signals_mask (&prev_mask);
|
||||
return -1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
lp = add_lwp (ptid);
|
||||
|
|
Loading…
Reference in a new issue