From 6f78f3869d46d5481026a1bc149a1b560e21f9b8 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 17 Jan 2014 20:09:23 +0000 Subject: 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. llvm-svn: 199509 --- lldb/source/Commands/CommandObjectExpression.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source/Commands/CommandObjectExpression.cpp') diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index 5ca44ff920d..18d144c57a1 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -373,6 +373,8 @@ CommandObjectExpression::EvaluateExpression if (m_command_options.timeout > 0) options.SetTimeoutUsec(m_command_options.timeout); + else + options.SetTimeoutUsec(0); exe_results = target->EvaluateExpression (expr, exe_ctx.GetFramePtr(), -- cgit v1.2.3