From 5c95ee4dd87f34b4564e6eada2e8e4b70834db68 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 30 Aug 2016 13:56:11 +0000 Subject: Revert "gdb-remote: Make the sequence mutex non-recursive" This reverts commit r279725 as it breaks "dynamic register size" feature of mips. llvm-svn: 280088 --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp index 4164ea29ddb..f99352a0a3a 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp @@ -208,14 +208,12 @@ GDBRemoteClientBase::SendPacketAndWaitForResponse(llvm::StringRef payload, Strin return PacketResult::ErrorSendFailed; } - return SendPacketAndWaitForResponse(payload, response, lock); + return SendPacketAndWaitForResponseNoLock(payload, response); } GDBRemoteCommunication::PacketResult -GDBRemoteClientBase::SendPacketAndWaitForResponse(llvm::StringRef payload, StringExtractorGDBRemote &response, - const Lock &lock) +GDBRemoteClientBase::SendPacketAndWaitForResponseNoLock(llvm::StringRef payload, StringExtractorGDBRemote &response) { - assert(lock); PacketResult packet_result = SendPacketNoLock(payload); if (packet_result != PacketResult::Success) return packet_result; -- cgit v1.2.3