@@ -196,6 +196,23 @@ bool SBThreadPlan::IsValid() {
196196 return false ;
197197}
198198
199+ bool SBThreadPlan::GetStopOthers () {
200+ LLDB_RECORD_METHOD_NO_ARGS (bool , SBThreadPlan, GetStopOthers);
201+
202+ ThreadPlanSP thread_plan_sp (GetSP ());
203+ if (thread_plan_sp)
204+ return thread_plan_sp->StopOthers ();
205+ return false ;
206+ }
207+
208+ void SBThreadPlan::SetStopOthers (bool stop_others) {
209+ LLDB_RECORD_METHOD (void , SBThreadPlan, SetStopOthers, (bool ), stop_others);
210+
211+ ThreadPlanSP thread_plan_sp (GetSP ());
212+ if (thread_plan_sp)
213+ thread_plan_sp->SetStopOthers (stop_others);
214+ }
215+
199216// This section allows an SBThreadPlan to push another of the common types of
200217// plans...
201218//
@@ -463,6 +480,8 @@ void RegisterMethods<SBThreadPlan>(Registry &R) {
463480 LLDB_REGISTER_METHOD (bool , SBThreadPlan, IsPlanComplete, ());
464481 LLDB_REGISTER_METHOD (bool , SBThreadPlan, IsPlanStale, ());
465482 LLDB_REGISTER_METHOD (bool , SBThreadPlan, IsValid, ());
483+ LLDB_REGISTER_METHOD (void , SBThreadPlan, SetStopOthers, (bool ));
484+ LLDB_REGISTER_METHOD (bool , SBThreadPlan, GetStopOthers, ());
466485 LLDB_REGISTER_METHOD (lldb::SBThreadPlan, SBThreadPlan,
467486 QueueThreadPlanForStepOverRange,
468487 (lldb::SBAddress &, lldb::addr_t ));
0 commit comments