2001-04-13 Fernando Nasser <fnasser@redhat.com>

From  Adam Mirowski  <Adam.Mirowski@Sun.COM>
	Fixed Insight on Solaris. It was not possible to debug a process
	because of EINTR "errors".
	* procfs.c: (procfs_wait): if proc_wait_for_stop() fails
	with EINTR, retry the call.
This commit is contained in:
Fernando Nasser 2001-04-13 13:51:54 +00:00
parent 7ce691aec4
commit d1566ff562
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2001-04-13 Fernando Nasser <fnasser@redhat.com>
From Adam Mirowski <Adam.Mirowski@Sun.COM>
Fixed Insight on Solaris. It was not possible to debug a process
because of EINTR "errors".
* procfs.c: (procfs_wait): if proc_wait_for_stop() fails
with EINTR, retry the call.
2001-04-12 Kevin Buettner <kevinb@redhat.com>
* solib-aix5.c (enum maptype): Delete.

View File

@ -3959,6 +3959,8 @@ wait_again:
/* FIXME: might I not just use waitpid?
Or try find_procinfo to see if I know about this child? */
}
else if (errno == EINTR)
goto wait_again;
else
{
/* Unknown error from wait_for_stop. */