]> Git Repo - binutils.git/commitdiff
2001-04-13 Fernando Nasser <[email protected]>
authorFernando Nasser <[email protected]>
Fri, 13 Apr 2001 13:51:54 +0000 (13:51 +0000)
committerFernando Nasser <[email protected]>
Fri, 13 Apr 2001 13:51:54 +0000 (13:51 +0000)
From  Adam Mirowski  <[email protected]>
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.

gdb/ChangeLog
gdb/procfs.c

index 988226730a1b69db3c927087da14aec8246efb69..8716961d68410164b1c4763796d21324d4f65fc7 100644 (file)
@@ -1,3 +1,11 @@
+2001-04-13  Fernando Nasser  <[email protected]>
+
+       From  Adam Mirowski  <[email protected]>
+       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  <[email protected]>
 
        * solib-aix5.c (enum maptype): Delete.
index a899dac9c8fc104d6afac50a09b0fc0c28b6cc22..1c15c367c28c000adeff4bc9cabec332d7c61e0c 100644 (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. */
This page took 0.039274 seconds and 4 git commands to generate.