[Lldb-commits] [lldb] r108311 - /lldb/trunk/source/Target/ThreadPlanStepInRange.cpp

Jim Ingham jingham at apple.com
Tue Jul 13 19:25:06 PDT 2010


Author: jingham
Date: Tue Jul 13 21:25:06 2010
New Revision: 108311

URL: http://llvm.org/viewvc/llvm-project?rev=108311&view=rev
Log:
Stepping through a trampoline should do "stop others" unless All Threads is requested.

Modified:
    lldb/trunk/source/Target/ThreadPlanStepInRange.cpp

Modified: lldb/trunk/source/Target/ThreadPlanStepInRange.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanStepInRange.cpp?rev=108311&r1=108310&r2=108311&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanStepInRange.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanStepInRange.cpp Tue Jul 13 21:25:06 2010
@@ -101,8 +101,11 @@
     
     ThreadPlan* new_plan = NULL;
 
+    // Stepping through should be done stopping other threads in general, since we're setting a breakpoint and
+    // continuing...
+    
     bool stop_others;
-    if (m_stop_others == lldb::eOnlyThisThread)
+    if (m_stop_others != lldb::eAllThreads)
         stop_others = true;
     else
         stop_others = false;





More information about the lldb-commits mailing list