aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Target/ThreadPlanStepInRange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepInRange.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanStepInRange.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp
index 58f61977ccdf..b95b35e59245 100644
--- a/lldb/source/Target/ThreadPlanStepInRange.cpp
+++ b/lldb/source/Target/ThreadPlanStepInRange.cpp
@@ -101,8 +101,11 @@ ThreadPlanStepInRange::ShouldStop (Event *event_ptr)
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;