From 83f00e88d72d7ea9a1267b1c97e55d3273d67d76 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 2 Sep 1993 04:39:59 +0000 Subject: [PATCH] * remote-udi.c (udi_wait): Call `warning' not `error'. --- gdb/remote-udi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index 0c67bbbe9e9..20e8d262c57 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -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; -- 2.30.2