diff options
author | Pedro Alves <palves@redhat.com> | 2015-04-10 15:22:38 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-04-10 13:31:59 +0100 |
commit | c79d856c88fbc58584d811c04b4812618aa6ac7b (patch) | |
tree | 12c26b33b387f606274ae8544b469aae294c1066 /depcomp | |
parent | ebc90b50ce6377bf822c918eaf7c55bcd451ba45 (diff) | |
download | gdb-c79d856c88fbc58584d811c04b4812618aa6ac7b.zip gdb-c79d856c88fbc58584d811c04b4812618aa6ac7b.tar.gz gdb-c79d856c88fbc58584d811c04b4812618aa6ac7b.tar.bz2 |
Test step-over-{lands-on-breakpoint|trips-on-watchpoint}.exp with displaced stepping
These tests exercise the infrun.c:proceed code that needs to know to
start new step overs (along with switch_back_to_stepped_thread, etc.).
That code is tricky to get right in the multitude of possible
combinations (at least):
(native | remote)
X (all-stop | all-stop-but-target-always-in-non-stop)
X (displaced-stepping | in-line step-over).
The first two above are properties of the target, but the different
step-over-breakpoint methods should work with any target that supports
them. This patch makes sure we always test both methods on all
targets.
Tested on x86-64 Fedora 20.
gdb/testsuite/ChangeLog:
2015-04-10 Pedro Alves <palves@redhat.com>
* gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
procedure, factored out from ...
(top level): ... here. Add "set displaced-stepping" testing axis.
* gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
parameter "displaced". Use it.
(top level): Use foreach and add "set displaced-stepping" testing
axis.
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions