aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-11-10 01:34:39 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-11-10 01:34:39 +0000
commit7fb951392a68318430c173715b99937fea11b6b8 (patch)
treea8fdac9379b02fcb56fc248da7aeb26218d20398 /gdb/remote-udi.c
parentfb682d6970089e99071239fa4a0b6c2a66333652 (diff)
downloadfsf-binutils-gdb-7fb951392a68318430c173715b99937fea11b6b8.zip
fsf-binutils-gdb-7fb951392a68318430c173715b99937fea11b6b8.tar.gz
fsf-binutils-gdb-7fb951392a68318430c173715b99937fea11b6b8.tar.bz2
* Makefile.in (init.c): Add udi2go32.o to list of files that we
should not try to search for _initialize_* functions. * remote-udi.c (udi_wait): Change UDIGdb_StdoutReady back to UDIStdoutReady. It accidentally got changed on 24 Oct 93 when stdout was changed to gdb_stdout. Likewise for UDIGetStdout, UDIStderrReady, and UDIGetStderr.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index 7f7d0d3..3afc02f 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -416,17 +416,18 @@ udi_wait (pid, status)
switch (StopReason & UDIGrossState)
{
- case UDIGdb_StdoutReady:
- if (UDIGetGdb_Stdout (sbuf, (UDISizeT)SBUF_MAX, &CountDone))
+ case UDIStdoutReady:
+ if (UDIGetStdout (sbuf, (UDISizeT)SBUF_MAX, &CountDone))
/* 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 ("UDIGetGdb_Stdout() failed in udi_wait");
+ warning ("UDIGetStdout() failed in udi_wait");
fwrite (sbuf, 1, CountDone, gdb_stdout);
gdb_flush(gdb_stdout);
continue;
- case UDIGdb_StderrReady:
- UDIGetGdb_Stderr (sbuf, (UDISizeT)SBUF_MAX, &CountDone);
+
+ case UDIStderrReady:
+ UDIGetStderr (sbuf, (UDISizeT)SBUF_MAX, &CountDone);
fwrite (sbuf, 1, CountDone, gdb_stderr);
gdb_flush(gdb_stderr);
continue;