Stepping through a trampoline should do "stop others" unless All Threads is requested.

llvm-svn: 108311
This commit is contained in:
Jim Ingham 2010-07-14 02:25:06 +00:00
parent 711338fb04
commit 9d790c5d12
1 changed files with 4 additions and 1 deletions

View File

@ -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;