diff options
author | Jim Ingham <jingham@apple.com> | 2012-09-07 01:11:08 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-09-07 01:11:08 +0000 |
commit | 7da851a3e291c29686c696bd40edaad3d5b64d43 (patch) | |
tree | e83b874ed1a3786306def6497db090fb27bb2db7 /lldb/source/Target/StackFrameList.cpp | |
parent | be33217bb85c8034c0056395c58b74f61875eaf0 (diff) | |
download | bcm5719-llvm-7da851a3e291c29686c696bd40edaad3d5b64d43.tar.gz bcm5719-llvm-7da851a3e291c29686c696bd40edaad3d5b64d43.zip |
For now, treat breakpoint hits like regular stops when calculation InlinedStackDepth.
llvm-svn: 163365
Diffstat (limited to 'lldb/source/Target/StackFrameList.cpp')
-rw-r--r-- | lldb/source/Target/StackFrameList.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lldb/source/Target/StackFrameList.cpp b/lldb/source/Target/StackFrameList.cpp index e336c4f6039..ce48c97f6ff 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 |