diff options
author | Greg Clayton <gclayton@apple.com> | 2012-04-12 19:04:34 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-04-12 19:04:34 +0000 |
commit | c3c0b0e59a8565fdaeb6f6cbe600ed59c22e5f0c (patch) | |
tree | c935a92e8de30464adb311b7c78f6ed712082528 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | 7767716d0f3e3d717f238d0969029e302ee73a6f (diff) | |
download | bcm5719-llvm-c3c0b0e59a8565fdaeb6f6cbe600ed59c22e5f0c.tar.gz bcm5719-llvm-c3c0b0e59a8565fdaeb6f6cbe600ed59c22e5f0c.zip |
Remove the GetSequenceMutex timeout that isn't being used in the GDB remote plug-in.
Also fixed the ProcessLinux, ProcessPOSIX and ProcessFreeBSD to have the correct UpdateThreadList() prototype.
llvm-svn: 154603
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 1535fd41260..0d39e98f428 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -225,14 +225,9 @@ GDBRemoteCommunication::GetAck () } bool -GDBRemoteCommunication::GetSequenceMutex (Mutex::Locker& locker, uint32_t usec_timeout) +GDBRemoteCommunication::GetSequenceMutex (Mutex::Locker& locker) { - if (usec_timeout == 0) - return locker.TryLock (m_sequence_mutex.GetMutex()); - - // Wait for the lock - locker.Lock (m_sequence_mutex.GetMutex()); - return true; + return locker.TryLock (m_sequence_mutex.GetMutex()); } |