From 11cf87416416e13eff634a70b4954fe6a3912720 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Tue, 9 Nov 1999 01:23:30 +0000 Subject: import gdb-1999-11-08 snapshot --- gdb/rdi-share/Makefile.in | 2 +- gdb/rdi-share/devsw.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'gdb/rdi-share') 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))); -- cgit v1.1