diff options
author | Jim Ingham <jingham@apple.com> | 2014-01-17 20:09:23 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2014-01-17 20:09:23 +0000 |
commit | 6f78f3869d46d5481026a1bc149a1b560e21f9b8 (patch) | |
tree | 5309c1dd721e31f06e54452f71547d55afba3ade /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | e625013071ee4a1317cbf0b8cd6f763fbf7abc7b (diff) | |
download | bcm5719-llvm-6f78f3869d46d5481026a1bc149a1b560e21f9b8.tar.gz bcm5719-llvm-6f78f3869d46d5481026a1bc149a1b560e21f9b8.zip |
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>
llvm-svn: 199509
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectExpression.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(), |