1 //===-- ThreadPlanStepOverBreakpoint.h --------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_ThreadPlanStepOverBreakpoint_h_
11 #define liblldb_ThreadPlanStepOverBreakpoint_h_
15 // Other libraries and framework includes
17 #include "lldb/Target/Thread.h"
18 #include "lldb/Target/ThreadPlan.h"
20 namespace lldb_private {
22 class ThreadPlanStepOverBreakpoint : public ThreadPlan
25 virtual ~ThreadPlanStepOverBreakpoint ();
27 ThreadPlanStepOverBreakpoint (Thread &thread);
28 virtual void GetDescription (Stream *s, lldb::DescriptionLevel level);
29 virtual bool ValidatePlan (Stream *error);
30 virtual bool ShouldStop (Event *event_ptr);
31 virtual bool StopOthers ();
32 virtual lldb::StateType GetPlanRunState ();
33 virtual bool WillStop ();
34 virtual bool MischiefManaged ();
35 virtual void ThreadDestroyed ();
36 void SetAutoContinue (bool do_it);
37 virtual bool ShouldAutoContinue(Event *event_ptr);
40 virtual bool DoPlanExplainsStop (Event *event_ptr);
41 virtual bool DoWillResume (lldb::StateType resume_state, bool current_plan);
43 void ReenableBreakpointSite ();
46 lldb::addr_t m_breakpoint_addr;
47 lldb::user_id_t m_breakpoint_site_id;
49 bool m_reenabled_breakpoint_site;
51 DISALLOW_COPY_AND_ASSIGN (ThreadPlanStepOverBreakpoint);
55 } // namespace lldb_private
57 #endif // liblldb_ThreadPlanStepOverBreakpoint_h_