* remote-udi.c (udi_wait): Call `warning' not `error'.
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 2 Sep 1993 04:39:59 +0000 (04:39 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 2 Sep 1993 04:39:59 +0000 (04:39 +0000)
gdb/remote-udi.c

index 0c67bbb..20e8d26 100644 (file)
@@ -461,7 +461,10 @@ udi_wait (status)
        {
        case UDIStdoutReady:
          if (UDIGetStdout (sbuf, (UDISizeT)SBUF_MAX, &CountDone))
-           error ("UDIGetStdout() failed in udi_wait");
+           /* This is said to happen if the program tries to output
+              a whole bunch of output (more than SBUF_MAX, I would
+              guess).  It doesn't seem to happen with the simulator.  */
+           warning ("UDIGetStdout() failed in udi_wait");
          fwrite (sbuf, 1, CountDone, stdout);
          fflush(stdout);
          continue;