From cf274f910e3885035c278c4ea9df770678d3a8dd Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Mon, 9 Apr 2012 22:37:39 +0000 Subject: Rework how master plans declare themselves. Also make "PlanIsBasePlan" not rely only on this being the bottom plan in the stack, but allow the plan to declare itself as such. llvm-svn: 154351 --- lldb/source/Target/ThreadPlanBase.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Target/ThreadPlanBase.cpp') diff --git a/lldb/source/Target/ThreadPlanBase.cpp b/lldb/source/Target/ThreadPlanBase.cpp index ebaa4dcf86f..fcb868302da 100644 --- a/lldb/source/Target/ThreadPlanBase.cpp +++ b/lldb/source/Target/ThreadPlanBase.cpp @@ -47,6 +47,7 @@ ThreadPlanBase::ThreadPlanBase (Thread &thread) : #endif new_tracer_sp->EnableTracing (m_thread.GetTraceEnabledState()); SetThreadPlanTracer(new_tracer_sp); + SetIsMasterPlan (true); } ThreadPlanBase::~ThreadPlanBase () -- cgit v1.2.3