This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-8.1-branch] Add testcase for GDB hang fixed by previous commit
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 12 Jan 2018 16:42:33 -0500
- Subject: [binutils-gdb/gdb-8.1-branch] Add testcase for GDB hang fixed by previous commit
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 1d17025506de70cb1d9d5b7a5654e40ce689bf26 ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-8.1-branch
Commit: 1d17025506de70cb1d9d5b7a5654e40ce689bf26
Add testcase for GDB hang fixed by previous commit
This adds a testcase for the previous commit. The regression was
related to in-line step overs. The reason we didn't see it on native
x86-64/s390 GNU/Linux testing is that native debugging uses displaced
stepping by default (because native debugging defaults to "maint set
target-non-stop on"), unlike remote debugging.
So in order to trigger the bug with native debugging as well, the
testcase disables displaced stepping explicitly.
Also, instead of using watchpoints to trigger the regression, the
testcase uses a breakpoint at address 0, which should be more
portable.
gdb/testsuite/ChangeLog:
2018-01-12 Pedro Alves <palves@redhat.com>
* gdb.base/continue-after-aborted-step-over.c: New.
* gdb.base/continue-after-aborted-step-over.exp: New.
- Follow-Ups:
- Failures on Fedora-x86_64-m64, branch gdb-8.1-branch
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-8.1-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-8.1-branch
- Failures on Fedora-x86_64-cc-with-index, branch gdb-8.1-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch gdb-8.1-branch
- Failures on Fedora-i686, branch gdb-8.1-branch
- Failures on Fedora-x86_64-m32, branch gdb-8.1-branch
- Failures on Ubuntu-AArch64-native-gdbserver-m64, branch gdb-8.1-branch
- Failures on Ubuntu-AArch64-m64, branch gdb-8.1-branch
- Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, branch gdb-8.1-branch
- Failures on Ubuntu-AArch32-native-gdbserver-m32, branch gdb-8.1-branch
- Failures on Ubuntu-AArch32-m32, branch gdb-8.1-branch