aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-08-22 18:11:11 +0100
committerAndrew Burgess <aburgess@redhat.com>2023-08-23 09:07:35 +0100
commitadc5f8b99a9d1ec96b5bf2492ad5516db580839a (patch)
tree90482fba2de4c8806bd74c5a32c1f0fac59e8fad /gdb/unittests
parentf29ab2e0e350a4b382a1e4eb1b41c28564d83e94 (diff)
downloadgdb-adc5f8b99a9d1ec96b5bf2492ad5516db580839a.zip
gdb-adc5f8b99a9d1ec96b5bf2492ad5516db580839a.tar.gz
gdb-adc5f8b99a9d1ec96b5bf2492ad5516db580839a.tar.bz2
gdb/testsuite: improve MI support for inferior specific breakpoints
In this commit: commit b080fe54fb3414b488b8ef323c6c50def061f918 Date: Tue Nov 8 12:32:51 2022 +0000 gdb: add inferior-specific breakpoints limited support was added in lib/mi-support.exp to help with testing of inferior specific breakpoints. Though the changes that were added were not wrong, while working on a later patch, I realised that I had added the support in the wrong place -- I only added support to mi_make_breakpoint_multi, when really I should have added the support to mi_make_breakpoint_1, which is used by all of the MI procs that create breakpoints. This commit moves the support to mi_make_breakpoint_1, and updates all the procs that use mi_make_breakpoint_1 to accept, and then pass through, and (optional) inferior argument. This will make it much easier to write MI tests for inferior specific breakpoints. There's no change in what is tested after this commit.
Diffstat (limited to 'gdb/unittests')
0 files changed, 0 insertions, 0 deletions