From 21afbe034e7d438ecd2b07592cbab481335af668 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 17 Jan 2014 17:31:06 +0000 Subject: [PATCH] Correct logic checking for the first stop ID llvm-svn: 199503 --- lldb/source/Target/ThreadList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Target/ThreadList.cpp b/lldb/source/Target/ThreadList.cpp index c73b01f520ae..b6ffd3da442f 100644 --- a/lldb/source/Target/ThreadList.cpp +++ b/lldb/source/Target/ThreadList.cpp @@ -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();