[Lldb-commits] [lldb] r205241 - Fix one thread timeout logic
Ed Maste
emaste at freebsd.org
Mon Mar 31 12:28:15 PDT 2014
Author: emaste
Date: Mon Mar 31 14:28:14 2014
New Revision: 205241
URL: http://llvm.org/viewvc/llvm-project?rev=205241&view=rev
Log:
Fix one thread timeout logic
This should fix the seemingly-random failures observed on the FreeBSD
buildbot.
Modified:
lldb/trunk/source/Target/Process.cpp
Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=205241&r1=205240&r2=205241&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Mon Mar 31 14:28:14 2014
@@ -5181,7 +5181,7 @@ Process::RunThreadPlan (ExecutionContext
// 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);
More information about the lldb-commits
mailing list