This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remove mi_out_data::suppress_output
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Fri, 2 Dec 2016 11:13:28 +0000
- Subject: Re: [PATCH] Remove mi_out_data::suppress_output
- Authentication-results: sourceware.org; auth=none
- References: <20161201205403.18070-1-simon.marchi@ericsson.com>
On 12/01/2016 08:54 PM, Simon Marchi wrote:
> The suppress_output field of the mi_ui_out_data structure is never actually
> set to 1/true. We can therefore remove it, and remove all the
>
> if (suppress_output)
>
> checks.
>
> gdb/ChangeLog:
>
> * mi/mi-out.c (mi_ui_out_data) <suppress_output>: Remove.
> (mi_table_body): Remove suppress_output check.
> (mi_table_end): Likewise.
> (mi_table_header): Likewise.
> (mi_begin): Likewise.
> (mi_end): Likewise.
> (mi_field_int): Likewise.
> (mi_field_string): Likewise.
> (mi_field_fmt): Likewise.
> (mi_out_data_ctor): Likewise.
OK.
Thanks,
Pedro Alves