summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadPlanStepOverRange.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-04-09 22:37:39 +0000
committerJim Ingham <jingham@apple.com>2012-04-09 22:37:39 +0000
commitcf274f910e3885035c278c4ea9df770678d3a8dd (patch)
tree337ed77a018d0bb913420cee1010fd9db1ea4dc8 /lldb/source/Target/ThreadPlanStepOverRange.cpp
parent383fda29befaca805e04d8160ada6234a75d2ec4 (diff)
downloadbcm5719-llvm-cf274f910e3885035c278c4ea9df770678d3a8dd.tar.gz
bcm5719-llvm-cf274f910e3885035c278c4ea9df770678d3a8dd.zip
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/ThreadPlanStepOverRange.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanStepOverRange.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Target/ThreadPlanStepOverRange.cpp b/lldb/source/Target/ThreadPlanStepOverRange.cpp
index 54fe8ea62a8..c147e83b19e 100644
--- a/lldb/source/Target/ThreadPlanStepOverRange.cpp
+++ b/lldb/source/Target/ThreadPlanStepOverRange.cpp
@@ -43,6 +43,9 @@ ThreadPlanStepOverRange::ThreadPlanStepOverRange
) :
ThreadPlanStepRange (ThreadPlan::eKindStepOverRange, "Step range stepping over", thread, range, addr_context, stop_others)
{
+ // Step over range plans can be master plans, since you could hit a breakpoint while stepping over, step around
+ // a bit, then continue to finish up the step over.
+ SetIsMasterPlan (true);
SetOkayToDiscard (okay_to_discard);
}
OpenPOWER on IntegriCloud