aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorPatrick Macdonald <patrickm@redhat.com>1998-06-22 15:08:58 +0000
committerPatrick Macdonald <patrickm@redhat.com>1998-06-22 15:08:58 +0000
commitf439ad5f1751028911c5557cf4b72644a7a71492 (patch)
tree254e63f1ad2fde1559770c7da49551c858a11f01 /sim/mips
parent25eafc5b751bc471ad9db31266f279e9e3c4e3a5 (diff)
downloadgdb-f439ad5f1751028911c5557cf4b72644a7a71492.zip
gdb-f439ad5f1751028911c5557cf4b72644a7a71492.tar.gz
gdb-f439ad5f1751028911c5557cf4b72644a7a71492.tar.bz2
* sky-dma.h, sky-gpuif.[c|h], sky-gs.h, sky-pke.[c|h],
sky-vu.h: use _IOLBF on debug files, _IOFBF on trace files * sky-gdb.[c|h] (sky_open_file()): add buffer mode to parameter list
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/sky-pke.c2
-rw-r--r--sim/mips/sky-pke.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/sim/mips/sky-pke.c b/sim/mips/sky-pke.c
index 804b37b..f6dafec 100644
--- a/sim/mips/sky-pke.c
+++ b/sim/mips/sky-pke.c
@@ -898,7 +898,7 @@ pke_pc_advance(struct pke_device* me, int num_words)
if (( me->fifo_trace_file == NULL) &&
( me->fifo_trace_file_name != NULL ))
sky_open_file (&me->fifo_trace_file, me->fifo_trace_file_name,
- (char *) NULL);
+ (char *) NULL, _IOLBF );
/* assert complete classification */
ASSERT(fq->word_class[3] != wc_unknown);
diff --git a/sim/mips/sky-pke.h b/sim/mips/sky-pke.h
index 27347e1..df80451 100644
--- a/sim/mips/sky-pke.h
+++ b/sim/mips/sky-pke.h
@@ -338,7 +338,7 @@ do { \
((me)->fifo_trace_file_name != NULL )) \
sky_open_file (&((me)->fifo_trace_file), \
(me)->fifo_trace_file_name, \
- (char *) NULL); \
+ (char *) NULL, _IOLBF ); \
fprintf (((me)->fifo_trace_file != NULL) ? \
(me)->fifo_trace_file : stdout, \
"# Reg %s:%s = 0x%x\n", #reg, #flag, (unsigned)(value)); \
@@ -472,7 +472,7 @@ int read_pke_pcx (struct pke_device *device, void *buf);
((me)->fifo_trace_file_name != NULL )) \
sky_open_file (&((me)->fifo_trace_file), \
(me)->fifo_trace_file_name, \
- (char *) NULL); \
+ (char *) NULL, _IOLBF ); \
fprintf (((me)->fifo_trace_file != NULL) ? \
(me)->fifo_trace_file : stdout, \
"# Write %2d bytes to ", size); \