aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-11-05 03:01:47 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-11-05 03:01:47 +0000
commit5576858065de4e33b6b2f8728e82ac3c474888ae (patch)
tree302940db827e6627bc9f8aee3eaa3927107b4210
parent71da0d0be62e24b69ddf03304f21a243b799ee9e (diff)
downloadgdb-5576858065de4e33b6b2f8728e82ac3c474888ae.zip
gdb-5576858065de4e33b6b2f8728e82ac3c474888ae.tar.gz
gdb-5576858065de4e33b6b2f8728e82ac3c474888ae.tar.bz2
* c-lang.c (c_printstr): Print "" to stream (like all the other
output from this function), not gdb_stdout.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/c-lang.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ade0f6b..029db4f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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).
diff --git a/gdb/c-lang.c b/gdb/c-lang.c
index e152aa2..c76735e 100644
--- a/gdb/c-lang.c
+++ b/gdb/c-lang.c
@@ -116,7 +116,7 @@ c_printstr (stream, string, length, force_ellipses)
if (length == 0)
{
- fputs_filtered ("\"\"", gdb_stdout);
+ fputs_filtered ("\"\"", stream);
return;
}