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:
Pedro Alves
2011-09-09 19:20:24 +00:00
parent e777132256
commit f687d03564
2 changed files with 6 additions and 1 deletions

View File

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