summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBFrame.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-01-21 06:11:58 +0000
committerGreg Clayton <gclayton@apple.com>2011-01-21 06:11:58 +0000
commit481cef25dcbcd81a942d037004c573716a796c71 (patch)
treeb9dd6cec5215fff40e47fcda3525314e1f3b9aa5 /lldb/source/API/SBFrame.cpp
parent47ff14b091ee66a4c5f159e7fb8714ca9a66d2f9 (diff)
Added support for stepping out of a frame. If you have 10 stack frames, and you
select frame #3, you can then do a step out and be able to go directly to the frame above frame #3! Added StepOverUntil and StepOutOfFrame to the SBThread API to allow more powerful stepping. llvm-svn: 123970
Diffstat (limited to 'lldb/source/API/SBFrame.cpp')
-rw-r--r--lldb/source/API/SBFrame.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp
index 0218654e4e7c..1ba1e7a11b14 100644
--- a/lldb/source/API/SBFrame.cpp
+++ b/lldb/source/API/SBFrame.cpp
@@ -511,6 +511,11 @@ SBFrame::get() const
return m_opaque_sp.get();
}
+const lldb::StackFrameSP &
+SBFrame::get_sp() const
+{
+ return m_opaque_sp;
+}
SBThread
SBFrame::GetThread () const