summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2014-03-31 19:28:14 +0000
committerEd Maste <emaste@freebsd.org>2014-03-31 19:28:14 +0000
commit801335cc647582c03ceccdaa1138be4ead514eb7 (patch)
tree9d8bd26d69c6e94b3be7c959dc7d2cfa09176256 /lldb/source/Target/Process.cpp
parentee1c342ef97afeccd38eddacdb8bea8d99ed4070 (diff)
downloadbcm5719-llvm-801335cc647582c03ceccdaa1138be4ead514eb7.tar.gz
bcm5719-llvm-801335cc647582c03ceccdaa1138be4ead514eb7.zip
Fix one thread timeout logic
This should fix the seemingly-random failures observed on the FreeBSD buildbot. llvm-svn: 205241
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 3231e1edc08..a4ac782de02 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -5181,7 +5181,7 @@ Process::RunThreadPlan (ExecutionContext &exe_ctx,
// If the overall wait is forever, then we only need to set the one thread timeout:
if (timeout_usec == 0)
{
- if (option_one_thread_timeout == 0)
+ if (option_one_thread_timeout != 0)
one_thread_timeout.OffsetWithMicroSeconds(option_one_thread_timeout);
else
one_thread_timeout.OffsetWithMicroSeconds(default_one_thread_timeout_usec);
OpenPOWER on IntegriCloud