diff options
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2021-05-06 10:13:06 +0200 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2021-05-06 10:46:39 +0200 |
commit | 10e578d7e00d74033ded0443422ffc509390a912 (patch) | |
tree | a68ac53300e767a8e8e93923f7fb45469fe79c5c /gdb/mi/mi-cmds.h | |
parent | ae064303efe5830e6b9901ce2e4ed241a3cda8e7 (diff) | |
download | gdb-10e578d7e00d74033ded0443422ffc509390a912.zip gdb-10e578d7e00d74033ded0443422ffc509390a912.tar.gz gdb-10e578d7e00d74033ded0443422ffc509390a912.tar.bz2 |
gdb/mi: add a '--force-condition' flag to the '-break-insert' cmd
Add a '--force-condition' flag to the '-break-insert' command to be
able to force conditions. Because the '-dprintf-insert' command uses
the same mechanism as the '-break-insert' command, it obtains the
'--force-condition' flag, too.
gdb/ChangeLog:
2021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* mi/mi-cmd-break.c (mi_cmd_break_insert_1): Recognize the
'--force-condition' flag to force the condition in the
'-break-insert' and '-dprintf-insert' commands.
* 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): New proc that
is called by the test.
gdb/doc/ChangeLog:
2021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* gdb.texinfo (GDB/MI Breakpoint Commands): Mention the
'--force-condition' flag of the '-break-insert' and
'-dprintf-insert' commands.
Diffstat (limited to 'gdb/mi/mi-cmds.h')
0 files changed, 0 insertions, 0 deletions