aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/interface/SBExpressionOptions.i
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-02-28 02:52:06 +0000
committerJim Ingham <jingham@apple.com>2014-02-28 02:52:06 +0000
commit286fb1ef32243f29c984b4559b1a1207c8af96cd (patch)
treebc39f81d73c8031654444ef231eb5ffae1d0728d /lldb/scripts/Python/interface/SBExpressionOptions.i
parenta51f0f8367acb79177abfb93e5b3533b490448cf (diff)
downloadllvm-286fb1ef32243f29c984b4559b1a1207c8af96cd.zip
llvm-286fb1ef32243f29c984b4559b1a1207c8af96cd.tar.gz
llvm-286fb1ef32243f29c984b4559b1a1207c8af96cd.tar.bz2
Plumb the EvaluateExpressionOptions::{Set,Get}StopOthers through the SB API, and make it work in RunThreadPlan.
Also remove SetStopOthers from the ThreadPlanCallFunction, because if the value you have doesn't match what is in the EvaluateExpressionOptions the plan was passed when created it won't work correctly. llvm-svn: 202464
Diffstat (limited to 'lldb/scripts/Python/interface/SBExpressionOptions.i')
-rw-r--r--lldb/scripts/Python/interface/SBExpressionOptions.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBExpressionOptions.i b/lldb/scripts/Python/interface/SBExpressionOptions.i
index 06b9be3..2854108 100644
--- a/lldb/scripts/Python/interface/SBExpressionOptions.i
+++ b/lldb/scripts/Python/interface/SBExpressionOptions.i
@@ -72,6 +72,13 @@ public:
SetTryAllThreads (bool run_others = true);
bool
+ GetStopOthers () const;
+
+ %feature("docstring", "Sets whether to stop other threads at all while running expressins. If false, TryAllThreads does nothing.") SetTryAllThreads;
+ void
+ SetStopOthers (bool stop_others = true);
+
+ bool
GetTrapExceptions () const;
%feature("docstring", "Sets whether to abort expression evaluation if an exception is thrown while executing. Don't set this to false unless you know the function you are calling traps all exceptions itself.") SetTryAllThreads;