forked from Imagelibrary/binutils-gdb
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user