summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-08-30 13:56:11 +0000
committerPavel Labath <labath@google.com>2016-08-30 13:56:11 +0000
commit5c95ee4dd87f34b4564e6eada2e8e4b70834db68 (patch)
tree863645a416ed01b5f4f07962a535d3ad172ce13d /lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
parentfdc628f7219f6974c1693e0d40fbdae79ea3a282 (diff)
downloadbcm5719-llvm-5c95ee4dd87f34b4564e6eada2e8e4b70834db68.tar.gz
bcm5719-llvm-5c95ee4dd87f34b4564e6eada2e8e4b70834db68.zip
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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp6
1 files changed, 2 insertions, 4 deletions
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;
OpenPOWER on IntegriCloud