[Lldb-commits] [lldb] r163365 - /lldb/trunk/source/Target/StackFrameList.cpp

Jim Ingham jingham at apple.com
Thu Sep 6 18:11:08 PDT 2012


Author: jingham
Date: Thu Sep  6 20:11:08 2012
New Revision: 163365

URL: http://llvm.org/viewvc/llvm-project?rev=163365&view=rev
Log:
For now, treat breakpoint hits like regular stops when calculation InlinedStackDepth.

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=163365&r1=163364&r2=163365&view=diff
==============================================================================
--- lldb/trunk/source/Target/StackFrameList.cpp (original)
+++ lldb/trunk/source/Target/StackFrameList.cpp Thu Sep  6 20:11:08 2012
@@ -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





More information about the lldb-commits mailing list