[Lldb-commits] [lldb] r163937 - /lldb/trunk/source/Commands/CommandObjectThread.cpp

Jim Ingham jingham at apple.com
Fri Sep 14 14:04:15 PDT 2012


Author: jingham
Date: Fri Sep 14 16:04:15 2012
New Revision: 163937

URL: http://llvm.org/viewvc/llvm-project?rev=163937&view=rev
Log:
"thread step-out" should run all threads by default.

Modified:
    lldb/trunk/source/Commands/CommandObjectThread.cpp

Modified: lldb/trunk/source/Commands/CommandObjectThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectThread.cpp?rev=163937&r1=163936&r2=163937&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectThread.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectThread.cpp Fri Sep 14 16:04:15 2012
@@ -449,6 +449,13 @@
             bool bool_stop_other_threads;
             if (m_options.m_run_mode == eAllThreads)
                 bool_stop_other_threads = false;
+            else if (m_options.m_run_mode == eOnlyDuringStepping)
+            {
+                if (m_step_type == eStepTypeOut)
+                    bool_stop_other_threads = false;
+                else
+                    bool_stop_other_threads = true;
+            }
             else
                 bool_stop_other_threads = true;
 





More information about the lldb-commits mailing list