aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index 0c67bbb..20e8d26 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;