diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 341698b480..3225ceb0cf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-05-29 Pedro Alves + + * infcall.c (run_inferior_call): Don't check whether the current + thread is running after the proceed call. + 2014-05-29 Pedro Alves Tom Tromey diff --git a/gdb/infcall.c b/gdb/infcall.c index 9a859584e4..685b8a4c69 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -407,7 +407,7 @@ run_inferior_call (struct thread_info *call_thread, CORE_ADDR real_pc) /* Inferior function calls are always synchronous, even if the target supports asynchronous execution. Do here what `proceed' itself does in sync mode. */ - if (target_can_async_p () && is_running (inferior_ptid)) + if (target_can_async_p ()) { wait_for_inferior (); normal_stop ();