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/Commands/CommandObjectThread.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/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index ca64f4b1c37..f46a2219a50 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -465,7 +465,7 @@ protected: if (m_step_type == eStepTypeInto) { - Frame *frame = thread->GetStackFrameAtIndex(0).get(); + StackFrame *frame = thread->GetStackFrameAtIndex(0).get(); if (frame->HasDebugInformation ()) { @@ -487,7 +487,7 @@ protected: } else if (m_step_type == eStepTypeOver) { - Frame *frame = thread->GetStackFrameAtIndex(0).get(); + StackFrame *frame = thread->GetStackFrameAtIndex(0).get(); if (frame->HasDebugInformation()) new_plan_sp = thread->QueueThreadPlanForStepOverRange (abort_other_plans, @@ -999,7 +999,7 @@ protected: const bool abort_other_plans = false; - Frame *frame = thread->GetStackFrameAtIndex(m_options.m_frame_idx).get(); + StackFrame *frame = thread->GetStackFrameAtIndex(m_options.m_frame_idx).get(); if (frame == NULL) { @@ -1411,7 +1411,7 @@ protected: ValueObjectSP return_valobj_sp; - FrameSP frame_sp = m_exe_ctx.GetFrameSP(); + StackFrameSP frame_sp = m_exe_ctx.GetFrameSP(); uint32_t frame_idx = frame_sp->GetFrameIndex(); if (frame_sp->IsInlined()) @@ -1588,7 +1588,7 @@ protected: bool DoExecute (Args& args, CommandReturnObject &result) { RegisterContext *reg_ctx = m_exe_ctx.GetRegisterContext(); - Frame *frame = m_exe_ctx.GetFramePtr(); + StackFrame *frame = m_exe_ctx.GetFramePtr(); Thread *thread = m_exe_ctx.GetThreadPtr(); Target *target = m_exe_ctx.GetTargetPtr(); const SymbolContext &sym_ctx = frame->GetSymbolContext (eSymbolContextLineEntry); |