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 --- .../Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h index 96a21722a55..c1d8249e5c4 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h @@ -98,8 +98,8 @@ protected: friend class ThreadGDBRemote; bool - ReadRegisterBytes(const RegisterInfo *reg_info, DataExtractor &data, GDBRemoteCommunicationClient &gdb_comm, - const GDBRemoteCommunicationClient::Lock &lock); + ReadRegisterBytes (const RegisterInfo *reg_info, + DataExtractor &data); bool WriteRegisterBytes (const RegisterInfo *reg_info, @@ -150,13 +150,11 @@ protected: private: // Helper function for ReadRegisterBytes(). - bool - GetPrimordialRegister(const RegisterInfo *reg_info, GDBRemoteCommunicationClient &gdb_comm, - const GDBRemoteCommunicationClient::Lock &lock); + bool GetPrimordialRegister(const RegisterInfo *reg_info, + GDBRemoteCommunicationClient &gdb_comm); // Helper function for WriteRegisterBytes(). - bool - SetPrimordialRegister(const RegisterInfo *reg_info, GDBRemoteCommunicationClient &gdb_comm, - const GDBRemoteCommunicationClient::Lock &lock); + bool SetPrimordialRegister(const RegisterInfo *reg_info, + GDBRemoteCommunicationClient &gdb_comm); DISALLOW_COPY_AND_ASSIGN (GDBRemoteRegisterContext); }; -- cgit v1.2.3