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
This commit is contained in:
Jim Ingham
2010-06-19 04:45:32 +00:00
parent b2a38a7286
commit b01e742af7
26 changed files with 93 additions and 274 deletions

View File

@@ -38,7 +38,7 @@ ThreadPlanStepUntil::ThreadPlanStepUntil
size_t num_addresses,
bool stop_others
) :
ThreadPlan ("Step out", thread, eVoteNoOpinion, eVoteNoOpinion),
ThreadPlan (ThreadPlan::eKindStepUntil, "Step until", thread, eVoteNoOpinion, eVoteNoOpinion),
m_step_from_insn (LLDB_INVALID_ADDRESS),
m_return_addr (LLDB_INVALID_ADDRESS),
m_return_bp_id(LLDB_INVALID_BREAK_ID),