From 7da851a3e291c29686c696bd40edaad3d5b64d43 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 7 Sep 2012 01:11:08 +0000 Subject: [PATCH] For now, treat breakpoint hits like regular stops when calculation InlinedStackDepth. llvm-svn: 163365 --- lldb/source/Target/StackFrameList.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lldb/source/Target/StackFrameList.cpp b/lldb/source/Target/StackFrameList.cpp index e336c4f60398..ce48c97f6ff3 100644 --- a/lldb/source/Target/StackFrameList.cpp +++ b/lldb/source/Target/StackFrameList.cpp @@ -136,11 +136,6 @@ StackFrameList::ResetCurrentInlinedDepth () { switch (stop_info_sp->GetStopReason()) { - case eStopReasonBreakpoint: - { - - } - break; case eStopReasonWatchpoint: case eStopReasonException: case eStopReasonSignal: @@ -148,6 +143,12 @@ StackFrameList::ResetCurrentInlinedDepth () m_current_inlined_pc = curr_pc; m_current_inlined_depth = 0; break; + case eStopReasonBreakpoint: + { + // FIXME: Figure out what this break point is doing, and set the inline depth + // appropriately. Be careful to take into account breakpoints that implement + // step over prologue, since that should do the default calculation. + } default: { // Otherwise, we should set ourselves at the container of the inlining, so that the