diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2014-11-25 21:00:58 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2014-11-25 21:00:58 +0000 |
| commit | 0cac4ca3916ac24ab6139d03cbfd18db9e715bfe (patch) | |
| tree | c94307da318be46e5aeea1a325c1e91749506e4f /include/lldb/Target/ThreadPlanStepOverRange.h | |
| parent | 03b99097822ca3ac69252d9afae716a584ed56c4 (diff) | |
Notes
Diffstat (limited to 'include/lldb/Target/ThreadPlanStepOverRange.h')
| -rw-r--r-- | include/lldb/Target/ThreadPlanStepOverRange.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/include/lldb/Target/ThreadPlanStepOverRange.h b/include/lldb/Target/ThreadPlanStepOverRange.h index 2cb5288272ea..d47c6c9429d5 100644 --- a/include/lldb/Target/ThreadPlanStepOverRange.h +++ b/include/lldb/Target/ThreadPlanStepOverRange.h @@ -21,14 +21,16 @@ namespace lldb_private { -class ThreadPlanStepOverRange : public ThreadPlanStepRange +class ThreadPlanStepOverRange : public ThreadPlanStepRange, + ThreadPlanShouldStopHere { public: ThreadPlanStepOverRange (Thread &thread, const AddressRange &range, const SymbolContext &addr_context, - lldb::RunMode stop_others); + lldb::RunMode stop_others, + LazyBool step_out_avoids_no_debug); virtual ~ThreadPlanStepOverRange (); @@ -38,9 +40,20 @@ public: protected: virtual bool DoPlanExplainsStop (Event *event_ptr); virtual bool DoWillResume (lldb::StateType resume_state, bool current_plan); - + + virtual void + SetFlagsToDefault () + { + GetFlags().Set(ThreadPlanStepOverRange::s_default_flag_values); + } + + + private: + static uint32_t s_default_flag_values; + + void SetupAvoidNoDebug(LazyBool step_out_avoids_code_without_debug_info); bool IsEquivalentContext(const SymbolContext &context); bool m_first_resume; |
