[Lldb-commits] [lldb] r199509 - The default timeout for EvaluateExpressionOptions is not 0, so if no timeout is provided, we have to set the option timeout to 0 by hand.

Jim Ingham jingham at apple.com
Fri Jan 17 12:09:23 PST 2014


Author: jingham
Date: Fri Jan 17 14:09:23 2014
New Revision: 199509

URL: http://llvm.org/viewvc/llvm-project?rev=199509&view=rev
Log:
The default timeout for EvaluateExpressionOptions is not 0, so if no timeout is provided, we have to set the option timeout to 0 by hand.

<rdar://problem/15846781>

Modified:
    lldb/trunk/source/Commands/CommandObjectExpression.cpp

Modified: lldb/trunk/source/Commands/CommandObjectExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectExpression.cpp?rev=199509&r1=199508&r2=199509&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectExpression.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectExpression.cpp Fri Jan 17 14:09:23 2014
@@ -373,6 +373,8 @@ CommandObjectExpression::EvaluateExpress
         
         if (m_command_options.timeout > 0)
             options.SetTimeoutUsec(m_command_options.timeout);
+        else
+            options.SetTimeoutUsec(0);
         
         exe_results = target->EvaluateExpression (expr, 
                                                   exe_ctx.GetFramePtr(),





More information about the lldb-commits mailing list