ThreadPlanStepRange.h [plain text]
#ifndef liblldb_ThreadPlanStepRange_h_
#define liblldb_ThreadPlanStepRange_h_
#include "lldb/Core/AddressRange.h"
#include "lldb/Target/StackID.h"
#include "lldb/Target/Thread.h"
#include "lldb/Target/ThreadPlan.h"
#include "lldb/Target/ThreadPlanShouldStopHere.h"
namespace lldb_private {
class ThreadPlanStepRange : public ThreadPlan
{
public:
virtual ~ThreadPlanStepRange ();
virtual void GetDescription (Stream *s, lldb::DescriptionLevel level) = 0;
virtual bool ValidatePlan (Stream *error);
virtual bool PlanExplainsStop ();
virtual bool ShouldStop (Event *event_ptr) = 0;
virtual Vote ShouldReportStop (Event *event_ptr);
virtual bool StopOthers ();
virtual lldb::StateType GetPlanRunState ();
virtual bool WillStop ();
virtual bool MischiefManaged ();
protected:
ThreadPlanStepRange (ThreadPlanKind kind,
const char *name,
Thread &thread,
const AddressRange &range,
const SymbolContext &addr_context,
lldb::RunMode stop_others);
bool InRange();
bool FrameIsYounger();
bool FrameIsOlder();
bool InSymbol();
SymbolContext m_addr_context;
AddressRange m_address_range;
lldb::RunMode m_stop_others;
uint32_t m_stack_depth;
StackID m_stack_id; bool m_no_more_plans; bool m_first_run_event;
private:
DISALLOW_COPY_AND_ASSIGN (ThreadPlanStepRange);
};
}
#endif // liblldb_ThreadPlanStepRange_h_