aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-07-09 22:19:50 +0000
committerMark Kettenis <kettenis@gnu.org>2001-07-09 22:19:50 +0000
commitbf702e7ee81a0a717287411f86c7ebd6e064b309 (patch)
tree4b9cdc118eafdf5de4eed8e21cdf0d84200076ef
parent112f9ab535bba939b9853485263bbb0cb5b74dcc (diff)
downloadgdb-bf702e7ee81a0a717287411f86c7ebd6e064b309.zip
gdb-bf702e7ee81a0a717287411f86c7ebd6e064b309.tar.gz
gdb-bf702e7ee81a0a717287411f86c7ebd6e064b309.tar.bz2
* mi-out.c (mi_out_new): Initialize suppress_ouput field of newly
created `struct ui_out_data'.
-rw-r--r--gdb/mi/ChangeLog5
-rw-r--r--gdb/mi/mi-out.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index 9784216..d7488b3 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-10 Mark Kettenis <kettenis@gnu.org>
+
+ * mi-out.c (mi_out_new): Initialize suppress_ouput field of newly
+ created `struct ui_out_data'.
+
2001-07-09 Kevin Buettner <kevinb@redhat.com>
* mi-main.c (register_changed_p, get_register): Use alloca()
diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c
index 97d0994..a92ccbe 100644
--- a/gdb/mi/mi-out.c
+++ b/gdb/mi/mi-out.c
@@ -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. */