aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32r-linux-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-09-28 17:55:29 -0400
committerPedro Alves <palves@redhat.com>2016-09-28 17:55:29 -0400
commit629ad95de4e61ac78f49e1abf4592dbc1fe84d96 (patch)
tree14c60505dc1eabc07220fabcc9ed203afb941a56 /gdb/m32r-linux-tdep.c
parent5324ac421538cac8590bbde74a67788a6cb03727 (diff)
downloadgdb-629ad95de4e61ac78f49e1abf4592dbc1fe84d96.zip
gdb-629ad95de4e61ac78f49e1abf4592dbc1fe84d96.tar.gz
gdb-629ad95de4e61ac78f49e1abf4592dbc1fe84d96.tar.bz2
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.
Diffstat (limited to 'gdb/m32r-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions