[Lldb-commits] [lldb] r187995 - Remove unreachable code when thread exits on Linux.

Matt Kopec Matt.Kopec at intel.com
Thu Aug 8 10:55:16 PDT 2013


Author: mkopec
Date: Thu Aug  8 12:55:16 2013
New Revision: 187995

URL: http://llvm.org/viewvc/llvm-project?rev=187995&view=rev
Log:
Remove unreachable code when thread exits on Linux.

Modified:
    lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIX.cpp

Modified: lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIX.cpp?rev=187995&r1=187994&r2=187995&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIX.cpp (original)
+++ lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIX.cpp Thu Aug  8 12:55:16 2013
@@ -432,12 +432,6 @@ ProcessPOSIX::SendMessage(const ProcessM
             SetPrivateState(eStateStopped);
         break;
 
-        assert(thread);
-        thread->SetState(eStateStopped);
-        StopAllThreads(message.GetTID());
-        SetPrivateState(eStateStopped);
-        break;
-
     case ProcessMessage::eSignalMessage:
     case ProcessMessage::eSignalDeliveredMessage:
         if (message.GetSignal() == SIGSTOP &&





More information about the lldb-commits mailing list