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
This commit is contained in:
@@ -425,17 +425,6 @@ ThreadPlanCallFunction::StopOthers ()
|
||||
return m_stop_other_threads;
|
||||
}
|
||||
|
||||
void
|
||||
ThreadPlanCallFunction::SetStopOthers (bool new_value)
|
||||
{
|
||||
if (m_subplan_sp)
|
||||
{
|
||||
ThreadPlanRunToAddress *address_plan = static_cast<ThreadPlanRunToAddress *>(m_subplan_sp.get());
|
||||
address_plan->SetStopOthers(new_value);
|
||||
}
|
||||
m_stop_other_threads = new_value;
|
||||
}
|
||||
|
||||
StateType
|
||||
ThreadPlanCallFunction::GetPlanRunState ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user