* c-lang.c (c_printstr): Print "" to stream (like all the other
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 5 Nov 1993 03:01:47 +0000 (03:01 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 5 Nov 1993 03:01:47 +0000 (03:01 +0000)
output from this function), not gdb_stdout.

gdb/ChangeLog
gdb/c-lang.c

index ade0f6b4addc687cddab45abbfbe71b91b0dfe9f..029db4f1ddea4b8dcb8d2b20e341739a7dce011a 100644 (file)
@@ -1,5 +1,8 @@
 Thu Nov  4 08:27:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * c-lang.c (c_printstr): Print "" to stream (like all the other
+       output from this function), not gdb_stdout.
+
        * dbxread.c (process_one_symbol): Do relocate 'S' symbols by
        the text offset (revert 12 Oct 93 change).
 
index e152aa21d4fcd44f57d213300e0887cd838a9b0b..c76735e9f956cd5a8d7df5870e4da27100c141a5 100644 (file)
@@ -116,7 +116,7 @@ c_printstr (stream, string, length, force_ellipses)
 
   if (length == 0)
     {
-      fputs_filtered ("\"\"", gdb_stdout);
+      fputs_filtered ("\"\"", stream);
       return;
     }