This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH]: mi/mi-out.c: initialize suppress_output
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH]: mi/mi-out.c: initialize suppress_output
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Tue, 10 Jul 2001 00:22:03 +0200
Checked in under the obvious fix rule. Without this patch I got a lot
of ERRORs in the testsuite.
Mark
Index: mi/ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* mi-out.c (mi_out_new): Initialize suppress_ouput field of newly
created `struct ui_out_data'.
Index: mi/mi-out.c
===================================================================
RCS file: /cvs/src/src/gdb/mi/mi-out.c,v
retrieving revision 1.21
diff -u -p -r1.21 mi-out.c
--- mi/mi-out.c 2001/07/09 05:53:44 1.21
+++ mi/mi-out.c 2001/07/09 22:18:54
@@ -440,6 +440,7 @@ mi_out_new (int mi_version)
int flags = 0;
struct ui_out_data *data = XMALLOC (struct ui_out_data);
data->suppress_field_separator = 0;
+ data->suppress_output = 0;
data->mi_version = mi_version;
/* FIXME: This code should be using a ``string_file'' and not the
TUI buffer hack. */