summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadPlanStepInRange.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-06-19 04:45:32 +0000
committerJim Ingham <jingham@apple.com>2010-06-19 04:45:32 +0000
commitb01e742af7651361c2e49d22140dee9342d8d72e (patch)
treeed6662bee21de01cbe59c76e620f2881ac921c1b /lldb/source/Target/ThreadPlanStepInRange.cpp
parentb2a38a7286d20a4c6cf20820a0cfe9a1d30df93e (diff)
downloadbcm5719-llvm-b01e742af7651361c2e49d22140dee9342d8d72e.tar.gz
bcm5719-llvm-b01e742af7651361c2e49d22140dee9342d8d72e.zip
Two changes in this checkin. Added a ThreadPlanKind so that I can do some reasoning based on the kind of thread plan
without having to use RTTI. Removed the ThreadPlanContinue and replaced with a ShouldAutoContinue query that serves the same purpose. Having to push another plan to assert that if there's no other indication the target should continue when this plan is popped was flakey and error prone. This method is more stable, and fixed problems we were having with thread specific breakpoints. llvm-svn: 106378
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepInRange.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanStepInRange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp
index f62fdb87c7f..6084b4e815f 100644
--- a/lldb/source/Target/ThreadPlanStepInRange.cpp
+++ b/lldb/source/Target/ThreadPlanStepInRange.cpp
@@ -40,7 +40,7 @@ ThreadPlanStepInRange::ThreadPlanStepInRange
const SymbolContext &addr_context,
lldb::RunMode stop_others
) :
- ThreadPlanStepRange ("Step Range stepping in", thread, range, addr_context, stop_others),
+ ThreadPlanStepRange (ThreadPlan::eKindStepInRange, "Step Range stepping in", thread, range, addr_context, stop_others),
ThreadPlanShouldStopHere (this, ThreadPlanStepInRange::DefaultShouldStopHereCallback, NULL)
{
SetFlagsToDefault ();
OpenPOWER on IntegriCloud