[PATCH] gdb/breakpoint: use gdb::option for the '-force' flag

Simon Marchi simark@simark.ca
Tue Oct 27 12:54:39 GMT 2020


On 2020-10-27 6:24 a.m., Tankut Baris Aktemur via Gdb-patches wrote:
> Use the gdb::option framework for the '-force' flag of the 'condition'
> command.  This gives tab-completion ability for the flag.
> 
> gdb/ChangeLog:
> 2020-10-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
> 
> 	* breakpoint.c (struct condition_command_opts): New struct.
> 	(condition_command_option_defs): New static global.
> 	(make_condition_command_options_def_group): New function.
> 	(condition_completer): Update to consider the '-force' flag.
> 	(condition_command): Use gdb::option for the '-force' flag.
> 
> gdb/testsuite/ChangeLog:
> 2020-10-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
> 
> 	* gdb.base/condbreak.exp: Update the completion tests to
> 	consider the '-force' flag.

Thanks, that LGTM.

Simon


More information about the Gdb-patches mailing list