* 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 0c67bbbe9e959793fd7f2fa3ad78b897fa0dfda1..20e8d262c570962a5ef3a9efe1803c4a8952788d 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;