From 286fb1ef32243f29c984b4559b1a1207c8af96cd Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 28 Feb 2014 02:52:06 +0000 Subject: 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 --- lldb/scripts/Python/interface/SBExpressionOptions.i | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lldb/scripts/Python') diff --git a/lldb/scripts/Python/interface/SBExpressionOptions.i b/lldb/scripts/Python/interface/SBExpressionOptions.i index 06b9be310de..28541084197 100644 --- a/lldb/scripts/Python/interface/SBExpressionOptions.i +++ b/lldb/scripts/Python/interface/SBExpressionOptions.i @@ -71,6 +71,13 @@ public: void 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; -- cgit v1.2.3