commit | 220494a1bcbc0e3f33c8b5a295c7d9709e031de1 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Fri Dec 03 00:19:58 2010 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Fri Dec 03 00:19:58 2010 +0000 |
tree | ff1b0ef66251763a3a1fae17a6464e180584f26f | |
parent | 58bf344ecda295b7be24c3fe1d4d00a17a0cc475 [diff] [blame] |
Fixed bad logic that was trying to determine if the gdb remote resumed a process or not. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120761 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index be96272..89b7238 100644 --- a/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -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); }