aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
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/GDBRemoteCommunicationClient.h
parentfdc628f7219f6974c1693e0d40fbdae79ea3a282 (diff)
downloadllvm-5c95ee4dd87f34b4564e6eada2e8e4b70834db68.zip
llvm-5c95ee4dd87f34b4564e6eada2e8e4b70834db68.tar.gz
llvm-5c95ee4dd87f34b4564e6eada2e8e4b70834db68.tar.bz2
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/GDBRemoteCommunicationClient.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
index a714b40..eeeecb5 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
@@ -64,9 +64,6 @@ public:
SendPacketsAndConcatenateResponses (const char *send_payload_prefix,
std::string &response_string);
- void
- ComputeThreadSuffixSupport();
-
bool
GetThreadSuffixSupported();
@@ -398,6 +395,9 @@ public:
uint32_t recv_size);
bool
+ SetCurrentThread (uint64_t tid);
+
+ bool
SetCurrentThreadForRun (uint64_t tid);
bool
@@ -488,18 +488,17 @@ public:
lldb::DataBufferSP
ReadRegister(lldb::tid_t tid,
- uint32_t reg_num, // Must be the eRegisterKindProcessPlugin register number
- const Lock &lock);
+ uint32_t reg_num); // Must be the eRegisterKindProcessPlugin register number
lldb::DataBufferSP
- ReadAllRegisters(lldb::tid_t tid, const Lock &lock);
+ ReadAllRegisters(lldb::tid_t tid);
bool
WriteRegister(lldb::tid_t tid, uint32_t reg_num, // eRegisterKindProcessPlugin register number
- llvm::ArrayRef<uint8_t> data, const Lock &lock);
+ llvm::ArrayRef<uint8_t> data);
bool
- WriteAllRegisters(lldb::tid_t tid, llvm::ArrayRef<uint8_t> data, const Lock &lock);
+ WriteAllRegisters(lldb::tid_t tid, llvm::ArrayRef<uint8_t> data);
bool
SaveRegisterState(lldb::tid_t tid, uint32_t &save_id);
@@ -687,10 +686,7 @@ protected:
PacketResult
SendThreadSpecificPacketAndWaitForResponse(lldb::tid_t tid, StreamString &&payload,
- StringExtractorGDBRemote &response, const Lock &lock);
-
- bool
- SetCurrentThread(uint64_t tid, const Lock &lock);
+ StringExtractorGDBRemote &response, bool send_async);
private:
DISALLOW_COPY_AND_ASSIGN (GDBRemoteCommunicationClient);