Correct logic checking for the first stop ID

llvm-svn: 199503
This commit is contained in:
Ed Maste 2014-01-17 17:31:06 +00:00
parent 47ef6ddece
commit 21afbe034e
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ ThreadList::ShouldStop (Event *event_ptr)
// If this becomes a problem, we'll have to have another StopReason like "StopInfoHidden" which will look invalid
// everywhere but at this check.
if (thread_sp->GetProcess()->GetStopID() != 0)
if (thread_sp->GetProcess()->GetStopID() > 1)
did_anybody_stop_for_a_reason = true;
else
did_anybody_stop_for_a_reason |= thread_sp->ThreadStoppedForAReason();