mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user