diff options
author | Jim Ingham <jingham@apple.com> | 2012-04-09 22:37:39 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-04-09 22:37:39 +0000 |
commit | cf274f910e3885035c278c4ea9df770678d3a8dd (patch) | |
tree | 337ed77a018d0bb913420cee1010fd9db1ea4dc8 /lldb/source/Target/ThreadPlanBase.cpp | |
parent | 383fda29befaca805e04d8160ada6234a75d2ec4 (diff) | |
download | llvm-cf274f910e3885035c278c4ea9df770678d3a8dd.zip llvm-cf274f910e3885035c278c4ea9df770678d3a8dd.tar.gz llvm-cf274f910e3885035c278c4ea9df770678d3a8dd.tar.bz2 |
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
Diffstat (limited to 'lldb/source/Target/ThreadPlanBase.cpp')
-rw-r--r-- | lldb/source/Target/ThreadPlanBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Target/ThreadPlanBase.cpp b/lldb/source/Target/ThreadPlanBase.cpp index ebaa4dc..fcb8683 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 () |