This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove mi_out_data::suppress_output


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]