aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index a899dac..1c15c36 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -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. */