From: Mark Kettenis Date: Mon, 9 Jul 2001 22:19:50 +0000 (+0000) Subject: * mi-out.c (mi_out_new): Initialize suppress_ouput field of newly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf702e7ee81a0a717287411f86c7ebd6e064b309;p=binutils-gdb.git * mi-out.c (mi_out_new): Initialize suppress_ouput field of newly created `struct ui_out_data'. --- diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index 9784216d777..d7488b3266a 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,8 @@ +2001-07-10 Mark Kettenis + + * mi-out.c (mi_out_new): Initialize suppress_ouput field of newly + created `struct ui_out_data'. + 2001-07-09 Kevin Buettner * 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 97d0994e516..a92ccbeab8e 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. */