For now, treat breakpoint hits like regular stops when calculation InlinedStackDepth.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163365 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/StackFrameList.cpp b/source/Target/StackFrameList.cpp
index e336c4f..ce48c97 100644
--- a/source/Target/StackFrameList.cpp
+++ b/source/Target/StackFrameList.cpp
@@ -136,11 +136,6 @@
{
switch (stop_info_sp->GetStopReason())
{
- case eStopReasonBreakpoint:
- {
-
- }
- break;
case eStopReasonWatchpoint:
case eStopReasonException:
case eStopReasonSignal:
@@ -148,6 +143,12 @@
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