binutils-gdb/gdb/mi
Tankut Baris Aktemur 79aabb7308 gdb/mi: add a '--force' flag to the '-break-condition' command
Add a '--force' flag to the '-break-condition' command to be
able to force conditions.

gdb/ChangeLog:
2021-05-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* mi/mi-cmd-break.c (mi_cmd_break_condition): New function.
	* mi/mi-cmds.c: Change the binding of "-break-condition" to
	mi_cmd_break_condition.
	* mi/mi-cmds.h (mi_cmd_break_condition): Declare.
	* breakpoint.h (set_breakpoint_condition): Declare a new
	overload.
	* breakpoint.c (set_breakpoint_condition): New overloaded function
	extracted out from ...
	(condition_command): ... this.
	* NEWS: Mention the change.

gdb/testsuite/ChangeLog:
2021-05-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.mi/mi-break.exp (test_forced_conditions): Add a test
	for the -break-condition command's "--force" flag.

gdb/doc/ChangeLog:
2021-05-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.texinfo (GDB/MI Breakpoint Commands): Mention the
	'--force' flag of the '-break-condition' command.
2021-05-06 10:46:40 +02:00
..
ChangeLog-1999-2003
mi-cmd-break.c gdb/mi: add a '--force' flag to the '-break-condition' command 2021-05-06 10:46:40 +02:00
mi-cmd-break.h
mi-cmd-catch.c
mi-cmd-disas.c
mi-cmd-env.c
mi-cmd-file.c Use function view in quick_symbol_functions::map_symbol_filenames 2021-03-26 13:44:24 -06:00
mi-cmd-info.c
mi-cmd-stack.c
mi-cmd-target.c
mi-cmd-var.c
mi-cmds.c gdb/mi: add a '--force' flag to the '-break-condition' command 2021-05-06 10:46:40 +02:00
mi-cmds.h gdb/mi: add a '--force' flag to the '-break-condition' command 2021-05-06 10:46:40 +02:00
mi-common.c
mi-common.h
mi-console.c
mi-console.h
mi-getopt.c
mi-getopt.h
mi-interp.c gdbsupport, gdb: give names to observers 2021-04-24 19:26:41 -04:00
mi-interp.h
mi-main.c Use startswith in gdb subfolder. 2021-04-01 06:29:59 +02:00
mi-main.h
mi-out.c
mi-out.h
mi-parse.c
mi-parse.h
mi-symbol-cmds.c