]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2001-04-13 Fernando Nasser <fnasser@redhat.com>
authorFernando Nasser <fnasser@redhat.com>
Fri, 13 Apr 2001 13:51:54 +0000 (13:51 +0000)
committerFernando Nasser <fnasser@redhat.com>
Fri, 13 Apr 2001 13:51:54 +0000 (13:51 +0000)
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.

gdb/ChangeLog
gdb/procfs.c

index 988226730a1b69db3c927087da14aec8246efb69..8716961d68410164b1c4763796d21324d4f65fc7 100644 (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.
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. */