forked from OSchip/llvm-project
Fixed a potential hang while trying to execute
a function in the inferior. llvm-svn: 147592
This commit is contained in:
parent
8fca6b268b
commit
c1b312a5c3
|
@ -3796,7 +3796,7 @@ Process::RunThreadPlan (ExecutionContext &exe_ctx,
|
|||
real_timeout.OffsetWithMicroSeconds(500000);
|
||||
timeout_ptr = &real_timeout;
|
||||
|
||||
got_event = listener.WaitForEvent(NULL, event_sp);
|
||||
got_event = listener.WaitForEvent(timeout_ptr, event_sp);
|
||||
if (!got_event)
|
||||
{
|
||||
if (log)
|
||||
|
|
Loading…
Reference in New Issue