This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-7.12-branch] Fix PR 20345 - call_function_by_hand_dummy: Assertion `tp->thread_fsm == &sm->thread_fsm' failed
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 28 Sep 2016 18:39:07 -0400
- Subject: [binutils-gdb/gdb-7.12-branch] Fix PR 20345 - call_function_by_hand_dummy: Assertion `tp->thread_fsm == &sm->thread_fsm' failed
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 629ad95de4e61ac78f49e1abf4592dbc1fe84d96 ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.12-branch
Commit: 629ad95de4e61ac78f49e1abf4592dbc1fe84d96
Fix PR 20345 - call_function_by_hand_dummy: Assertion `tp->thread_fsm == &sm->thread_fsm' failed
If you run an infcall from the command line, and immediately after run
some other command, GDB incorrectly processes the other command before
the infcall finishes.
The problem is that the fix for PR gdb/20418 (Problems with
synchronous commands and new-ui, git 3eb7562a983b) moved the
add_file_handler/delete_file_handler calls out of
target_terminal_$foo, and missed adjusting the infcall code.
gdb/ChangeLog:
2016-09-28 Pedro Alves <palves@redhat.com>
* infcall.c (run_inferior_call): Remove input from the event
loop while running the infcall.
gdb/testsuite/ChangeLog:
2016-09-28 Pedro Alves <palves@redhat.com>
* gdb.base/infcall-input.c: New file.
* gdb.base/infcall-input.exp: New file.
- Follow-Ups:
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.12-branch
- Failures on Fedora-x86_64-m32, branch gdb-7.12-branch
- Failures on Fedora-x86_64-native-gdbserver-m64, branch gdb-7.12-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-7.12-branch
- Failures on Fedora-x86_64-m64, branch gdb-7.12-branch
- Failures on Fedora-x86_64-cc-with-index, branch gdb-7.12-branch
- Failures on Fedora-s390x-m64, branch gdb-7.12-branch
- Failures on Debian-x86_64-m64, branch gdb-7.12-branch
- Failures on Fedora-i686, branch gdb-7.12-branch
- Failures on Debian-s390x-native-gdbserver-m64, branch gdb-7.12-branch
- Failures on Debian-i686-native-extended-gdbserver, branch gdb-7.12-branch
- Failures on Debian-s390x-native-extended-gdbserver-m64, branch gdb-7.12-branch
- Failures on Fedora-ppc64be-native-gdbserver-m64, branch gdb-7.12-branch
- Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch gdb-7.12-branch
- Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch gdb-7.12-branch
- Failures on Fedora-ppc64le-native-gdbserver-m64, branch gdb-7.12-branch