[Lldb-commits] [lldb] r120761 - /lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp

Greg Clayton gclayton at apple.com
Thu Dec 2 16:19:59 PST 2010


Author: gclayton
Date: Thu Dec  2 18:19:58 2010
New Revision: 120761

URL: http://llvm.org/viewvc/llvm-project?rev=120761&view=rev
Log:
Fixed bad logic that was trying to determine if the gdb remote resumed a process or not.

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp?rev=120761&r1=120760&r2=120761&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp Thu Dec  2 18:19:58 2010
@@ -867,9 +867,7 @@
         timeout = TimeValue::Now();
         timeout.OffsetWithSeconds (timeout_sec);
     }
-    bool timed_out = false;
-    m_is_running.WaitForValueEqualTo (true, &timeout, &timed_out);
-    return timed_out;
+    return m_is_running.WaitForValueEqualTo (true, &timeout, NULL);
 }
     
 





More information about the lldb-commits mailing list