diff options
author | Jason Molenda <jmolenda@apple.com> | 2013-11-04 09:33:30 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2013-11-04 09:33:30 +0000 |
commit | b57e4a1bc6054a5495d6671f108914108852105b (patch) | |
tree | 0323964656c388cca864bd7eb52bdd1108006c28 /lldb/source/API/SBThread.cpp | |
parent | f23b27a837a005c193106c346e139b74a064ec19 (diff) | |
download | bcm5719-llvm-b57e4a1bc6054a5495d6671f108914108852105b.tar.gz bcm5719-llvm-b57e4a1bc6054a5495d6671f108914108852105b.zip |
Roll back the changes I made in r193907 which created a new Frame
pure virtual base class and made StackFrame a subclass of that. As
I started to build on top of that arrangement today, I found that it
wasn't working out like I intended. Instead I'll try sticking with
the single StackFrame class -- there's too much code duplication to
make a more complicated class hierarchy sensible I think.
llvm-svn: 193983
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r-- | lldb/source/API/SBThread.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp index c972ce86239..0c3a17e0df8 100644 --- a/lldb/source/API/SBThread.cpp +++ b/lldb/source/API/SBThread.cpp @@ -594,7 +594,7 @@ SBThread::StepOver (lldb::RunMode stop_other_threads) { Thread *thread = exe_ctx.GetThreadPtr(); bool abort_other_plans = false; - FrameSP frame_sp(thread->GetStackFrameAtIndex (0)); + StackFrameSP frame_sp(thread->GetStackFrameAtIndex (0)); ThreadPlanSP new_plan_sp; if (frame_sp) @@ -645,7 +645,7 @@ SBThread::StepInto (const char *target_name, lldb::RunMode stop_other_threads) bool abort_other_plans = false; Thread *thread = exe_ctx.GetThreadPtr(); - FrameSP frame_sp(thread->GetStackFrameAtIndex (0)); + StackFrameSP frame_sp(thread->GetStackFrameAtIndex (0)); ThreadPlanSP new_plan_sp; if (frame_sp && frame_sp->HasDebugInformation ()) @@ -711,7 +711,7 @@ SBThread::StepOutOfFrame (lldb::SBFrame &sb_frame) Mutex::Locker api_locker; ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker); - FrameSP frame_sp (sb_frame.GetFrameSP()); + StackFrameSP frame_sp (sb_frame.GetFrameSP()); if (log) { SBStream frame_desc_strm; @@ -801,7 +801,7 @@ SBThread::StepOverUntil (lldb::SBFrame &sb_frame, Mutex::Locker api_locker; ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker); - FrameSP frame_sp (sb_frame.GetFrameSP()); + StackFrameSP frame_sp (sb_frame.GetFrameSP()); if (log) { @@ -1112,7 +1112,7 @@ SBThread::GetFrameAtIndex (uint32_t idx) Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API)); SBFrame sb_frame; - FrameSP frame_sp; + StackFrameSP frame_sp; Mutex::Locker api_locker; ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker); @@ -1148,7 +1148,7 @@ SBThread::GetSelectedFrame () Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API)); SBFrame sb_frame; - FrameSP frame_sp; + StackFrameSP frame_sp; Mutex::Locker api_locker; ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker); @@ -1184,7 +1184,7 @@ SBThread::SetSelectedFrame (uint32_t idx) Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API)); SBFrame sb_frame; - FrameSP frame_sp; + StackFrameSP frame_sp; Mutex::Locker api_locker; ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker); |