summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-09-14 21:04:15 +0000
committerJim Ingham <jingham@apple.com>2012-09-14 21:04:15 +0000
commit43d886ec90dc28e36000fa5c78d010374e874d07 (patch)
treeb51f0055ce906dc0ee8e7c4eceb8bbd568883888 /lldb/source/Commands/CommandObjectThread.cpp
parentf76ab67c554007f1e63a6ffb349ef185ff41a7d4 (diff)
downloadbcm5719-llvm-43d886ec90dc28e36000fa5c78d010374e874d07.tar.gz
bcm5719-llvm-43d886ec90dc28e36000fa5c78d010374e874d07.zip
"thread step-out" should run all threads by default.
llvm-svn: 163937
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index ee4650179dd..a2c3e6a3429 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -449,6 +449,13 @@ protected:
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;
OpenPOWER on IntegriCloud