aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-02 04:39:59 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-02 04:39:59 +0000
commit83f00e88d72d7ea9a1267b1c97e55d3273d67d76 (patch)
tree9cfe21fe9331fbee993bcd1d11bce42ad2738108 /gdb/remote-udi.c
parent67a64bec4e4d4dfb23069065ec8cc6e68d8feca6 (diff)
downloadgdb-83f00e88d72d7ea9a1267b1c97e55d3273d67d76.zip
gdb-83f00e88d72d7ea9a1267b1c97e55d3273d67d76.tar.gz
gdb-83f00e88d72d7ea9a1267b1c97e55d3273d67d76.tar.bz2
* remote-udi.c (udi_wait): Call `warning' not `error'.
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;