aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-15 20:14:43 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-15 20:14:43 +0000
commitf29351d98b9834627cc9b77081d7f67fe65d9267 (patch)
tree93dca18839a91e6cc176c47a5e2500c8f195973d /gdb/utils.c
parentbb1f42d4f09de23f33128e76b24d5259b46602dc (diff)
downloadgdb-f29351d98b9834627cc9b77081d7f67fe65d9267.zip
gdb-f29351d98b9834627cc9b77081d7f67fe65d9267.tar.gz
gdb-f29351d98b9834627cc9b77081d7f67fe65d9267.tar.bz2
* utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index b15ea74..08c2353 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1259,7 +1259,18 @@ fputs_unfiltered (linebuffer, stream)
const char *linebuffer;
FILE *stream;
{
+#if 0
+
+ /* This gets the wrap_buffer buffering wrong when called from
+ gdb_readline (GDB was sometimes failing to print the prompt
+ before reading input). Even at other times, it seems kind of
+ misguided, especially now that printf_unfiltered doesn't use
+ printf_maybe_filtered. */
+
fputs_maybe_filtered (linebuffer, stream, 0);
+#else
+ fputs (linebuffer, stream);
+#endif
}
void