* utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
authorJim Kingdon <jkingdon@engr.sgi.com>
Sat, 15 Jan 1994 20:14:43 +0000 (20:14 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sat, 15 Jan 1994 20:14:43 +0000 (20:14 +0000)
gdb/ChangeLog
gdb/utils.c

index c6190ead29df212542d6064cca721b0698b340ed..84ac8d23685ebc0f7ab170aa8081d317d791dc36 100644 (file)
@@ -1,5 +1,7 @@
 Sat Jan 15 10:20:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
+
        * c-exp.y (parse_number): Check for overflow regardless of range
        checking.  Fix overflow check to use unsigned LONGEST, not
        unsigned int.
index b15ea745943078ca16c6eb66af5e1feb278f91ad..08c2353c598b5f3342a165578fa17ce0f576cc6d 100644 (file)
@@ -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