summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-12-03 00:19:58 +0000
committerGreg Clayton <gclayton@apple.com>2010-12-03 00:19:58 +0000
commita97599011164f7887f03744071ff633aa9ea374a (patch)
tree4e51a37fef4582e8499345332ebab36cb7d7790c /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
parent5eed2e63f829c9aa437aca7ee014df17711205e3 (diff)
downloadbcm5719-llvm-a97599011164f7887f03744071ff633aa9ea374a.tar.gz
bcm5719-llvm-a97599011164f7887f03744071ff633aa9ea374a.zip
Fixed bad logic that was trying to determine if the gdb remote resumed a process or not.
llvm-svn: 120761
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
index be962727364..89b723849fc 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -867,9 +867,7 @@ GDBRemoteCommunication::WaitForIsRunning (uint32_t timeout_sec)
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);
}
OpenPOWER on IntegriCloud