mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 16:50:51 +08:00
Fixed a potential hang while trying to execute
a function in the inferior. llvm-svn: 147592
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user