[Lldb-commits] [lldb] r163341 - /lldb/trunk/source/Target/StackFrameList.cpp
Jim Ingham
jingham at apple.com
Thu Sep 6 12:24:57 PDT 2012
Author: jingham
Date: Thu Sep 6 14:24:57 2012
New Revision: 163341
URL: http://llvm.org/viewvc/llvm-project?rev=163341&view=rev
Log:
When you reach the bottom of the inlined stack, don't say you can do a virtual step.
Modified:
lldb/trunk/source/Target/StackFrameList.cpp
Modified: lldb/trunk/source/Target/StackFrameList.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/StackFrameList.cpp?rev=163341&r1=163340&r2=163341&view=diff
==============================================================================
--- lldb/trunk/source/Target/StackFrameList.cpp (original)
+++ lldb/trunk/source/Target/StackFrameList.cpp Thu Sep 6 14:24:57 2012
@@ -189,8 +189,10 @@
if (current_inlined_depth != UINT32_MAX)
{
if (current_inlined_depth > 0)
+ {
m_current_inlined_depth--;
- return true;
+ return true;
+ }
}
}
return false;
@@ -318,6 +320,9 @@
{
StackFrameList *prev_frames = m_prev_frames_sp.get();
StackFrameList *curr_frames = this;
+
+ curr_frames->m_current_inlined_depth = prev_frames->m_current_inlined_depth;
+ curr_frames->m_current_inlined_pc = prev_frames->m_current_inlined_pc;
#if defined (DEBUG_STACK_FRAMES)
s.PutCString("\nprev_frames:\n");
More information about the lldb-commits
mailing list