summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-01-05 02:00:14 +0000
committerSean Callanan <scallanan@apple.com>2012-01-05 02:00:14 +0000
commitc1b312a5c3aa062d9ccf2a548b79163e003404e0 (patch)
tree5f56e7bac87803bbb4804d96d3ad66b7241096be /lldb/source/Target/Process.cpp
parent8fca6b268b952d39842149658bd3431c1f7ad272 (diff)
downloadbcm5719-llvm-c1b312a5c3aa062d9ccf2a548b79163e003404e0.tar.gz
bcm5719-llvm-c1b312a5c3aa062d9ccf2a548b79163e003404e0.zip
Fixed a potential hang while trying to execute
a function in the inferior. llvm-svn: 147592
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp2
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)
OpenPOWER on IntegriCloud