Author: emaste
Date: Fri Jan 17 11:31:06 2014
New Revision: 199503

URL: http://llvm.org/viewvc/llvm-project?rev=199503&view=rev
Log:
Correct logic checking for the first stop ID

Modified:
    lldb/trunk/source/Target/ThreadList.cpp

Modified: lldb/trunk/source/Target/ThreadList.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadList.cpp?rev=199503&r1=199502&r2=199503&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadList.cpp (original)
+++ lldb/trunk/source/Target/ThreadList.cpp Fri Jan 17 11:31:06 2014
@@ -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();


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to