This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-7.12-branch] Add test for user context selection sync
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 03 Oct 2016 18:38:25 -0400
- Subject: [binutils-gdb/gdb-7.12-branch] Add test for user context selection sync
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT ec55637a35d74522d4a1fbb65ed4137803ed9d64 ***
Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: gdb-7.12-branch
Commit: ec55637a35d74522d4a1fbb65ed4137803ed9d64
Add test for user context selection sync
This patch adds a test to verify that events are sent properly to all
UIs when the user selection context (inferior, thread, frame) changes.
The goal of the C test file is to provide two threads that are stopped with the
same predictable backtrace (so that we can test frame switching). The barrier
helps us know when the child threads are started. Then, scheduler-locking is
used to bring each thread one by one to the position we expect them to be
during the test.
gdb/testsuite/ChangeLog:
YYYY-MM-DD Antoine Tremblay <antoine.tremblay@ericsson.com>
YYYY-MM-DD Simon Marchi <simon.marchi@ericsson.com>
PR gdb/20487
* gdb.mi/user-selected-context-sync.exp: New file.
* gdb.mi/user-selected-context-sync.c: New file.
- Follow-Ups:
- *** COMPILATION FAILED *** Failures on Fedora-x86_64-c-build-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-x86_64-m32, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-x86_64-cc-with-index, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-x86_64-c-build-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-gdbserver-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-x86_64-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-i686, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Debian-i686, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Debian-i686-native-extended-gdbserver, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Ubuntu-AArch64-native-gdbserver-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-s390x-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Debian-s390x-native-gdbserver-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Debian-x86_64-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Debian-s390x-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Debian-s390x-native-extended-gdbserver-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Debian-x86_64-native-extended-gdbserver-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-ppc64le-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-ppc64le-cc-with-index, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-ppc64le-native-gdbserver-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-ppc64be-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-ppc64be-native-gdbserver-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch gdb-7.12-branch *** BREAKAGE ***
- *** COMPILATION FAILED *** Failures on Fedora-ppc64be-cc-with-index, branch gdb-7.12-branch *** BREAKAGE ***