[Lldb-commits] [PATCH] D133365: [lldb] Fix CommunicationKDP following D133251
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 6 10:21:47 PDT 2022
kastiglione created this revision.
kastiglione added reviewers: mgorny, labath, aprantl.
Herald added a project: All.
kastiglione requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Add `m_bytes` and `m_bytes_mutex` to `CommunicationKDP`, following refactoring
in D133251 <https://reviews.llvm.org/D133251>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133365
Files:
lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h
Index: lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h
===================================================================
--- lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h
+++ lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h
@@ -221,6 +221,8 @@
// Classes that inherit from CommunicationKDP can see and modify these
uint32_t m_addr_byte_size;
lldb::ByteOrder m_byte_order;
+ std::string m_bytes;
+ std::recursive_mutex m_bytes_mutex;
std::chrono::seconds m_packet_timeout;
std::recursive_mutex m_sequence_mutex; // Restrict access to sending/receiving
// packets to a single thread at a time
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133365.458206.patch
Type: text/x-patch
Size: 692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220906/af181250/attachment-0001.bin>
More information about the lldb-commits
mailing list