* 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.
This commit is contained in:
Jim Kingdon 1993-11-10 01:34:39 +00:00
parent fb682d6970
commit 7fb951392a
3 changed files with 17 additions and 5 deletions

View File

@ -1,3 +1,13 @@
Tue Nov 9 19:20:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* 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.
Tue Nov 9 12:48:06 1993 Tom Lord (lord@cygnus.com)
* remote-hms.c (hms_wait): fixed too many arguments to putc_unfiltered.

View File

@ -503,6 +503,7 @@ init.c: $(OBS) $(TSOBS)
-e '/xdr_rdb.o/d' \
-e '/udr.o/d' \
-e '/udip2soc.o/d' \
-e '/udi2go32.o/d' \
-e '/version.o/d' \
-e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
-e 's/\.o/.c/'` ; \

View File

@ -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;