diff options
author | Ed Maste <emaste@freebsd.org> | 2014-03-31 19:28:14 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2014-03-31 19:28:14 +0000 |
commit | 801335cc647582c03ceccdaa1138be4ead514eb7 (patch) | |
tree | 9d8bd26d69c6e94b3be7c959dc7d2cfa09176256 /lldb/source/Target/Process.cpp | |
parent | ee1c342ef97afeccd38eddacdb8bea8d99ed4070 (diff) | |
download | bcm5719-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.cpp | 2 |
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); |