aboutsummaryrefslogtreecommitdiff
path: root/gdb/rdi-share
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-11-09 01:23:30 +0000
committerJason Molenda <jmolenda@apple.com>1999-11-09 01:23:30 +0000
commit11cf87416416e13eff634a70b4954fe6a3912720 (patch)
treea6dc7a21bb3d45b89c3f95e4b5862ec9d2fab83b /gdb/rdi-share
parent98007ce7b0dea06f0c04d833d39b5a9c9773a07a (diff)
downloadfsf-binutils-gdb-11cf87416416e13eff634a70b4954fe6a3912720.zip
fsf-binutils-gdb-11cf87416416e13eff634a70b4954fe6a3912720.tar.gz
fsf-binutils-gdb-11cf87416416e13eff634a70b4954fe6a3912720.tar.bz2
import gdb-1999-11-08 snapshot
Diffstat (limited to 'gdb/rdi-share')
-rw-r--r--gdb/rdi-share/Makefile.in2
-rw-r--r--gdb/rdi-share/devsw.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/rdi-share/Makefile.in b/gdb/rdi-share/Makefile.in
index a24e1af..617b4c4 100644
--- a/gdb/rdi-share/Makefile.in
+++ b/gdb/rdi-share/Makefile.in
@@ -94,7 +94,7 @@ CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libangsd_a_LIBADD =
-libangsd_a_OBJECTS = ardi.o bytesex.o crc.o devsw.o drivers.o \
+libangsd_a_OBJECTS = ardi.o angel_bytesex.o crc.o devsw.o drivers.o \
etherdrv.o hostchan.o hsys.o logging.o msgbuild.o params.o rx.o \
serdrv.o serpardr.o tx.o unixcomm.o
AR = ar
diff --git a/gdb/rdi-share/devsw.c b/gdb/rdi-share/devsw.c
index 51ac29e..b48c337 100644
--- a/gdb/rdi-share/devsw.c
+++ b/gdb/rdi-share/devsw.c
@@ -47,7 +47,9 @@ static void openLogFile ()
perror ("fopen");
}
else
- setlinebuf (angelDebugLogFile);
+ /* The following line is equivalent to: */
+ /* setlinebuf (angelDebugLogFile); */
+ setvbuf(angelDebugLogFile, (char *)NULL, _IOLBF, 0);
time (&t);
fprintf (angelDebugLogFile,"ADP log file opened at %s\n",asctime(localtime(&t)));