diff options
| author | Sean Callanan <scallanan@apple.com> | 2012-01-05 02:00:14 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2012-01-05 02:00:14 +0000 |
| commit | c1b312a5c3aa062d9ccf2a548b79163e003404e0 (patch) | |
| tree | 5f56e7bac87803bbb4804d96d3ad66b7241096be | |
| parent | 8fca6b268b952d39842149658bd3431c1f7ad272 (diff) | |
| download | bcm5719-llvm-c1b312a5c3aa062d9ccf2a548b79163e003404e0.tar.gz bcm5719-llvm-c1b312a5c3aa062d9ccf2a548b79163e003404e0.zip | |
Fixed a potential hang while trying to execute
a function in the inferior.
llvm-svn: 147592
| -rw-r--r-- | lldb/source/Target/Process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index 50bcb7a952a..c673118160b 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -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) |

