* remote-udi.c (udi_wait): Don't stop if TIP says that remote is
authorStu Grossman <grossman@cygnus>
Tue, 1 Dec 1992 02:51:28 +0000 (02:51 +0000)
committerStu Grossman <grossman@cygnus>
Tue, 1 Dec 1992 02:51:28 +0000 (02:51 +0000)
still running.

gdb/ChangeLog
gdb/remote-udi.c

index 9a51cf2e69f5299a0d45d5b08d5247063ac3011f..e3bad5aa947237855fbc8dd939eedde9b1b2c91d 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov 30 18:46:58 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * remote-udi.c (udi_wait):  Don't stop if TIP says that remote is
+       still running.
+
 Mon Nov 30 12:00:25 1992  Fred Fish  (fnf@cygnus.com)
 
        * tm-sun4sol2.h:  Add CPLUS_MARKER.  Solaris 2.0 requires '.'
index 9615112c8e626df6062cf48d97acc5b7fb141039..f731d9ea5feb42a34e819b6a0944451f403b0471 100644 (file)
@@ -507,6 +507,9 @@ udi_wait (status)
          printf("DEBUG: stdin requested ... continue\n");
          /*    UDIPutStdin(sbuf, (UDISizeT)i, &CountDone); */
          continue;
+       case UDIRunning:
+         /* In spite of the fact that we told UDIWait to wait forever, it will
+            return spuriously sometimes.  */
        case UDIStdinModeX:
          continue;
        default:
@@ -575,9 +578,6 @@ udi_wait (status)
     case UDINotExecuting:
       WSETSTOP ((*status), SIGTERM);
       break;
-    case UDIRunning:
-      WSETSTOP ((*status), SIGILL);
-      break;
     case UDIStopped:
       WSETSTOP ((*status), SIGTSTP);
       break;