summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBExpressionOptions.cpp
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/source/API/SBExpressionOptions.cpp
parenta51f0f8367acb79177abfb93e5b3533b490448cf (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.cpp12
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 ();