From b1d4d8d128a65d59be6d6071614418116fbfcba2 Mon Sep 17 00:00:00 2001 From: Tankut Baris Aktemur Date: Tue, 27 Oct 2020 10:56:03 +0100 Subject: gdb/breakpoint: use gdb::option for the '-force' flag 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 * 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 * gdb.base/condbreak.exp: Update the completion tests to consider the '-force' flag. --- gdb/testsuite/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/testsuite/ChangeLog') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5bcb04d..8635d17 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-10-27 Tankut Baris Aktemur + + * gdb.base/condbreak.exp: Update the completion tests to + consider the '-force' flag. + 2020-10-27 Tom de Vries * gdb.base/list-ambiguous-readnow.exp: New file. -- cgit v1.1