summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadPlanStepOut.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/ThreadPlanStepOut.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/ThreadPlanStepOut.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanStepOut.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanStepOut.cpp b/lldb/source/Target/ThreadPlanStepOut.cpp
index e05a8a440a1..f72dca5e091 100644
--- a/lldb/source/Target/ThreadPlanStepOut.cpp
+++ b/lldb/source/Target/ThreadPlanStepOut.cpp
@@ -36,7 +36,7 @@ ThreadPlanStepOut::ThreadPlanStepOut
Vote stop_vote,
Vote run_vote
) :
- ThreadPlan ("Step out", thread, stop_vote, run_vote),
+ ThreadPlan (ThreadPlan::eKindStepOut, "Step out", thread, stop_vote, run_vote),
m_step_from_context (context),
m_step_from_insn (LLDB_INVALID_ADDRESS),
m_return_addr (LLDB_INVALID_ADDRESS),
OpenPOWER on IntegriCloud