summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-01-17 20:09:23 +0000
committerJim Ingham <jingham@apple.com>2014-01-17 20:09:23 +0000
commit6f78f3869d46d5481026a1bc149a1b560e21f9b8 (patch)
tree5309c1dd721e31f06e54452f71547d55afba3ade /lldb/source/Commands/CommandObjectExpression.cpp
parente625013071ee4a1317cbf0b8cd6f763fbf7abc7b (diff)
downloadbcm5719-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.cpp2
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(),
OpenPOWER on IntegriCloud