diff options
author | Jim Ingham <jingham@apple.com> | 2012-10-16 21:41:58 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-10-16 21:41:58 +0000 |
commit | 35e1bda6957bb7e5d26f6a50e473ca3aa22a1386 (patch) | |
tree | 8ae0c9392cf55fc5c112148231d78729935de8e9 /lldb/source/Commands/CommandObjectWatchpoint.cpp | |
parent | 02a1141e5a36928f7a0ac9d2e0ee44dca3be3a01 (diff) | |
download | llvm-35e1bda6957bb7e5d26f6a50e473ca3aa22a1386.zip llvm-35e1bda6957bb7e5d26f6a50e473ca3aa22a1386.tar.gz llvm-35e1bda6957bb7e5d26f6a50e473ca3aa22a1386.tar.bz2 |
Add the ability to set timeout & "run all threads" options both from the "expr" command and from
the SB API's that evaluate expressions.
<rdar://problem/12457211>
llvm-svn: 166062
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpoint.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectWatchpoint.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectWatchpoint.cpp b/lldb/source/Commands/CommandObjectWatchpoint.cpp index 8a74471..63275f9 100644 --- a/lldb/source/Commands/CommandObjectWatchpoint.cpp +++ b/lldb/source/Commands/CommandObjectWatchpoint.cpp @@ -1234,11 +1234,12 @@ protected: } // Use expression evaluation to arrive at the address to watch. - Target::EvaluateExpressionOptions options; + EvaluateExpressionOptions options; options.SetCoerceToId(false) .SetUnwindOnError(true) .SetKeepInMemory(false) - .SetSingleThreadTimeoutUsec(0); + .SetRunOthers(true) + .SetTimeoutUsec(0); ExecutionResults expr_result = target->EvaluateExpression (expr_str.c_str(), frame, |