ThreadPlanStepOverRange.h revision 24943d2ee8bfaa7cf5893e4709143924157a5c1e
1//===-- ThreadPlanStepOverRange.h -------------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9 10#ifndef liblldb_ThreadPlanStepOverRange_h_ 11#define liblldb_ThreadPlanStepOverRange_h_ 12 13// C Includes 14// C++ Includes 15// Other libraries and framework includes 16// Project includes 17#include "lldb/Core/AddressRange.h" 18#include "lldb/Target/StackID.h" 19#include "lldb/Target/Thread.h" 20#include "lldb/Target/ThreadPlanStepRange.h" 21 22namespace lldb_private { 23 24class ThreadPlanStepOverRange : public ThreadPlanStepRange 25{ 26public: 27 virtual ~ThreadPlanStepOverRange (); 28 29 virtual void GetDescription (Stream *s, lldb::DescriptionLevel level); 30 virtual bool ShouldStop (Event *event_ptr); 31 virtual bool 32 IsMasterPlan() 33 { 34 return true; 35 } 36 37protected: 38 39 ThreadPlanStepOverRange (Thread &thread, const AddressRange &range, const SymbolContext &addr_context, lldb::RunMode stop_others, bool okay_to_discard = false); 40 41private: 42 43 friend ThreadPlan * 44 Thread::QueueThreadPlanForStepRange (bool abort_other_plans, 45 lldb::StepType type, 46 const AddressRange &range, 47 const SymbolContext &addr_context, 48 lldb::RunMode stop_others); 49 50 DISALLOW_COPY_AND_ASSIGN (ThreadPlanStepOverRange); 51 52}; 53 54} // namespace lldb_private 55 56#endif // liblldb_ThreadPlanStepOverRange_h_ 57