diff options
| author | Jim Ingham <jingham@apple.com> | 2014-02-28 02:52:06 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2014-02-28 02:52:06 +0000 |
| commit | 286fb1ef32243f29c984b4559b1a1207c8af96cd (patch) | |
| tree | bc39f81d73c8031654444ef231eb5ffae1d0728d /lldb/source/API/SBExpressionOptions.cpp | |
| parent | a51f0f8367acb79177abfb93e5b3533b490448cf (diff) | |
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/source/API/SBExpressionOptions.cpp')
| -rw-r--r-- | lldb/source/API/SBExpressionOptions.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/source/API/SBExpressionOptions.cpp b/lldb/source/API/SBExpressionOptions.cpp index ae1c8f99df30..b426cd1845f4 100644 --- a/lldb/source/API/SBExpressionOptions.cpp +++ b/lldb/source/API/SBExpressionOptions.cpp @@ -114,6 +114,18 @@ SBExpressionOptions::SetTryAllThreads (bool run_others) } bool +SBExpressionOptions::GetStopOthers () const +{ + return m_opaque_ap->GetStopOthers (); +} + +void +SBExpressionOptions::SetStopOthers (bool run_others) +{ + m_opaque_ap->SetStopOthers (run_others); +} + +bool SBExpressionOptions::GetTrapExceptions () const { return m_opaque_ap->GetTrapExceptions (); |
