LLDB  mainline
GDBRemoteCommunication.h
Go to the documentation of this file.
1 //===-- GDBRemoteCommunication.h --------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_SOURCE_PLUGINS_PROCESS_GDB_REMOTE_GDBREMOTECOMMUNICATION_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_GDB_REMOTE_GDBREMOTECOMMUNICATION_H
11 
13 
14 #include <condition_variable>
15 #include <future>
16 #include <mutex>
17 #include <queue>
18 #include <string>
19 #include <vector>
20 
22 #include "lldb/Host/Config.h"
23 #include "lldb/Host/HostThread.h"
24 #include "lldb/Utility/Args.h"
25 #include "lldb/Utility/Listener.h"
26 #include "lldb/Utility/Predicate.h"
28 #include "lldb/lldb-public.h"
29 
30 namespace lldb_private {
31 namespace repro {
32 class PacketRecorder;
33 }
34 namespace process_gdb_remote {
35 
43 };
44 
45 enum class CompressionType {
46  None = 0, // no compression
47  ZlibDeflate, // zlib's deflate compression scheme, requires zlib or Apple's
48  // libcompression
49  LZFSE, // an Apple compression scheme, requires Apple's libcompression
50  LZ4, // lz compression - called "lz4 raw" in libcompression terms, compat with
51  // https://code.google.com/p/lz4/
52  LZMA, // Lempel–Ziv–Markov chain algorithm
53 };
54 
55 // Data included in the vFile:fstat packet.
56 // https://sourceware.org/gdb/onlinedocs/gdb/struct-stat.html#struct-stat
58  llvm::support::ubig32_t gdb_st_dev;
59  llvm::support::ubig32_t gdb_st_ino;
60  llvm::support::ubig32_t gdb_st_mode;
61  llvm::support::ubig32_t gdb_st_nlink;
62  llvm::support::ubig32_t gdb_st_uid;
63  llvm::support::ubig32_t gdb_st_gid;
64  llvm::support::ubig32_t gdb_st_rdev;
65  llvm::support::ubig64_t gdb_st_size;
66  llvm::support::ubig64_t gdb_st_blksize;
67  llvm::support::ubig64_t gdb_st_blocks;
68  llvm::support::ubig32_t gdb_st_atime;
69  llvm::support::ubig32_t gdb_st_mtime;
70  llvm::support::ubig32_t gdb_st_ctime;
71 };
72 static_assert(sizeof(GDBRemoteFStatData) == 64,
73  "size of GDBRemoteFStatData is not 64");
74 
75 enum GDBErrno {
76 #define HANDLE_ERRNO(name, value) GDB_##name = value,
77 #include "Plugins/Process/gdb-remote/GDBRemoteErrno.def"
78  GDB_EUNKNOWN = 9999
79 };
80 
81 class ProcessGDBRemote;
82 
84 public:
85  enum {
86  eBroadcastBitRunPacketSent = kLoUserBroadcastBit,
87  };
88 
89  enum class PacketType { Invalid = 0, Standard, Notify };
90 
91  enum class PacketResult {
92  Success = 0, // Success
93  ErrorSendFailed, // Status sending the packet
94  ErrorSendAck, // Didn't get an ack back after sending a packet
95  ErrorReplyFailed, // Status getting the reply
96  ErrorReplyTimeout, // Timed out waiting for reply
97  ErrorReplyInvalid, // Got a reply but it wasn't valid for the packet that
98  // was sent
99  ErrorReplyAck, // Sending reply ack failed
100  ErrorDisconnected, // We were disconnected
101  ErrorNoSequenceLock // We couldn't get the sequence lock for a multi-packet
102  // request
103  };
104 
105  // Class to change the timeout for a given scope and restore it to the
106  // original value when the
107  // created ScopedTimeout object got out of scope
109  public:
111  std::chrono::seconds timeout);
112  ~ScopedTimeout();
113 
114  private:
116  std::chrono::seconds m_saved_timeout;
117  // Don't ever reduce the timeout for a packet, only increase it. If the
118  // requested timeout if less than the current timeout, we don't set it
119  // and won't need to restore it.
121  };
122 
123  GDBRemoteCommunication(const char *comm_name, const char *listener_name);
124 
125  ~GDBRemoteCommunication() override;
126 
128 
129  size_t SendAck();
130 
131  size_t SendNack();
132 
133  char CalculcateChecksum(llvm::StringRef payload);
134 
135  PacketType CheckForPacket(const uint8_t *src, size_t src_len,
136  StringExtractorGDBRemote &packet);
137 
138  bool GetSendAcks() { return m_send_acks; }
139 
140  // Set the global packet timeout.
141  //
142  // For clients, this is the timeout that gets used when sending
143  // packets and waiting for responses. For servers, this is used when waiting
144  // for ACKs.
145  std::chrono::seconds SetPacketTimeout(std::chrono::seconds packet_timeout) {
146  const auto old_packet_timeout = m_packet_timeout;
147  m_packet_timeout = packet_timeout;
148  return old_packet_timeout;
149  }
150 
151  std::chrono::seconds GetPacketTimeout() const { return m_packet_timeout; }
152 
153  // Start a debugserver instance on the current host using the
154  // supplied connection URL.
156  const char *url,
157  Platform *platform, // If non nullptr, then check with the platform for
158  // the GDB server binary if it can't be located
159  ProcessLaunchInfo &launch_info, uint16_t *port, const Args *inferior_args,
160  int pass_comm_fd); // Communication file descriptor to pass during
161  // fork/exec to avoid having to connect/accept
162 
163  void DumpHistory(Stream &strm);
164 
166 
168  GDBRemoteCommunication &server);
169 
170  /// Expand GDB run-length encoding.
172 
173 protected:
174  std::chrono::seconds m_packet_timeout;
179  bool m_is_platform; // Set to true if this class represents a platform,
180  // false if this class represents a debug session for
181  // a single process
182 
184 
185  PacketResult SendPacketNoLock(llvm::StringRef payload);
186  PacketResult SendNotificationPacketNoLock(llvm::StringRef notify_type,
187  std::deque<std::string>& queue,
188  llvm::StringRef payload);
189  PacketResult SendRawPacketNoLock(llvm::StringRef payload,
190  bool skip_ack = false);
191 
193  Timeout<std::micro> timeout, bool sync_on_timeout);
194 
197  bool sync_on_timeout,
198  llvm::function_ref<void(llvm::StringRef)> output_callback);
199 
201  Timeout<std::micro> timeout,
202  bool sync_on_timeout);
203 
206  }
207 
208  // If compression is enabled, decompress the packet in m_bytes and update
209  // m_bytes with the uncompressed version.
210  // Returns 'true' packet was decompressed and m_bytes is the now-decompressed
211  // text.
212  // Returns 'false' if unable to decompress or if the checksum was invalid.
213  //
214  // NB: Once the packet has been decompressed, checksum cannot be computed
215  // based
216  // on m_bytes. The checksum was for the compressed packet.
217  bool DecompressPacket();
218 
219  Status StartListenThread(const char *hostname = "127.0.0.1",
220  uint16_t port = 0);
221 
222  bool JoinListenThread();
223 
225 
226 private:
227  // Promise used to grab the port number from listening thread
228  std::promise<uint16_t> m_port_promise;
229 
232 
233 #if defined(HAVE_LIBCOMPRESSION)
234  CompressionType m_decompression_scratch_type = CompressionType::None;
235  void *m_decompression_scratch = nullptr;
236 #endif
237 
239  const GDBRemoteCommunication &
240  operator=(const GDBRemoteCommunication &) = delete;
241 };
242 
243 } // namespace process_gdb_remote
244 } // namespace lldb_private
245 
246 namespace llvm {
247 template <>
248 struct format_provider<
249  lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult> {
250  static void format(const lldb_private::process_gdb_remote::
251  GDBRemoteCommunication::PacketResult &state,
252  raw_ostream &Stream, StringRef Style);
253 };
254 } // namespace llvm
255 
256 #endif // LLDB_SOURCE_PLUGINS_PROCESS_GDB_REMOTE_GDBREMOTECOMMUNICATION_H
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketType::Notify
@ Notify
lldb_private::process_gdb_remote::GDBRemoteCommunication::~GDBRemoteCommunication
~GDBRemoteCommunication() override
Definition: GDBRemoteCommunication.cpp:75
lldb_private::process_gdb_remote::CompressionType
CompressionType
Definition: GDBRemoteCommunication.h:45
lldb-public.h
llvm
Definition: Debugger.h:50
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_rdev
llvm::support::ubig32_t gdb_st_rdev
Definition: GDBRemoteCommunication.h:64
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_blocks
llvm::support::ubig64_t gdb_st_blocks
Definition: GDBRemoteCommunication.h:67
lldb_private::process_gdb_remote::GDBRemoteCommunication::CalculcateChecksum
char CalculcateChecksum(llvm::StringRef payload)
Definition: GDBRemoteCommunication.cpp:86
lldb_private::process_gdb_remote::GDBRemoteCommunication::SetPacketTimeout
std::chrono::seconds SetPacketTimeout(std::chrono::seconds packet_timeout)
Definition: GDBRemoteCommunication.h:145
lldb_private::HostThread
Definition: HostThread.h:29
lldb_private::process_gdb_remote::eWatchpointReadWrite
@ eWatchpointReadWrite
Definition: GDBRemoteCommunication.h:42
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_dev
llvm::support::ubig32_t gdb_st_dev
Definition: GDBRemoteCommunication.h:58
lldb_private::process_gdb_remote::GDBRemoteCommunication::SendAck
size_t SendAck()
Definition: GDBRemoteCommunication.cpp:95
lldb_private::process_gdb_remote::GDB_EUNKNOWN
@ GDB_EUNKNOWN
Definition: GDBRemoteCommunication.h:78
lldb_private::process_gdb_remote::eStoppointInvalid
@ eStoppointInvalid
Definition: GDBRemoteCommunication.h:37
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult
PacketResult
Definition: GDBRemoteCommunication.h:91
lldb_private::process_gdb_remote::GDBRemoteCommunication::DecompressPacket
bool DecompressPacket()
Definition: GDBRemoteCommunication.cpp:407
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_size
llvm::support::ubig64_t gdb_st_size
Definition: GDBRemoteCommunication.h:65
lldb_private::process_gdb_remote::GDBRemoteCommunication::m_listen_thread
HostThread m_listen_thread
Definition: GDBRemoteCommunication.h:230
lldb_private::process_gdb_remote::GDBRemoteCommunication::CompressionIsEnabled
bool CompressionIsEnabled()
Definition: GDBRemoteCommunication.h:204
lldb_private::process_gdb_remote::GDBRemoteCommunication
Definition: GDBRemoteCommunication.h:83
lldb_private::process_gdb_remote::GDBRemoteCommunication::ScopedTimeout::m_saved_timeout
std::chrono::seconds m_saved_timeout
Definition: GDBRemoteCommunication.h:116
lldb_private::process_gdb_remote::eWatchpointWrite
@ eWatchpointWrite
Definition: GDBRemoteCommunication.h:40
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_uid
llvm::support::ubig32_t gdb_st_uid
Definition: GDBRemoteCommunication.h:62
StringExtractorGDBRemote.h
lldb_private::Stream
Definition: Stream.h:28
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_ctime
llvm::support::ubig32_t gdb_st_ctime
Definition: GDBRemoteCommunication.h:70
lldb_private::Args
Definition: Args.h:33
Predicate.h
lldb_private::LazyBool
LazyBool
Definition: lldb-private-enumerations.h:115
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_ino
llvm::support::ubig32_t gdb_st_ino
Definition: GDBRemoteCommunication.h:59
lldb_private::process_gdb_remote::GDBRemoteCommunication::ListenThread
lldb::thread_result_t ListenThread()
Definition: GDBRemoteCommunication.cpp:883
Listener.h
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_blksize
llvm::support::ubig64_t gdb_st_blksize
Definition: GDBRemoteCommunication.h:66
lldb_private::process_gdb_remote::GDBRemoteCommunication::WaitForPacketNoLock
PacketResult WaitForPacketNoLock(StringExtractorGDBRemote &response, Timeout< std::micro > timeout, bool sync_on_timeout)
Definition: GDBRemoteCommunication.cpp:261
lldb_private::process_gdb_remote::GDBRemoteCommunication::JoinListenThread
bool JoinListenThread()
Definition: GDBRemoteCommunication.cpp:877
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketType::Invalid
@ Invalid
lldb_private::process_gdb_remote::GDBRemoteCommunication::DumpHistory
void DumpHistory(Stream &strm)
Definition: GDBRemoteCommunication.cpp:1226
lldb_private::Communication
Definition: Communication.h:84
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult::ErrorReplyInvalid
@ ErrorReplyInvalid
lldb_private::process_gdb_remote::GDBRemoteCommunication::SendRawPacketNoLock
PacketResult SendRawPacketNoLock(llvm::StringRef payload, bool skip_ack=false)
Definition: GDBRemoteCommunication.cpp:151
lldb_private::process_gdb_remote::GDBRemoteCommunication::m_compression_type
CompressionType m_compression_type
Definition: GDBRemoteCommunication.h:183
HostThread.h
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult::ErrorReplyAck
@ ErrorReplyAck
lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess
Status StartDebugserverProcess(const char *url, Platform *platform, ProcessLaunchInfo &launch_info, uint16_t *port, const Args *inferior_args, int pass_comm_fd)
Definition: GDBRemoteCommunication.cpp:903
lldb_private::ProcessLaunchInfo
Definition: ProcessLaunchInfo.h:31
Args.h
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_nlink
llvm::support::ubig32_t gdb_st_nlink
Definition: GDBRemoteCommunication.h:61
lldb_private::process_gdb_remote::GDBRemoteCommunication::SendNotificationPacketNoLock
PacketResult SendNotificationPacketNoLock(llvm::StringRef notify_type, std::deque< std::string > &queue, llvm::StringRef payload)
Definition: GDBRemoteCommunication.cpp:128
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult::ErrorNoSequenceLock
@ ErrorNoSequenceLock
lldb_private::process_gdb_remote::GDBRemoteCommunication::m_history
GDBRemoteCommunicationHistory m_history
Definition: GDBRemoteCommunication.h:177
lldb_private::process_gdb_remote::GDBRemoteCommunication::ScopedTimeout::~ScopedTimeout
~ScopedTimeout()
Definition: GDBRemoteCommunication.cpp:1279
lldb_private::process_gdb_remote::GDBRemoteCommunication::m_echo_number
uint32_t m_echo_number
Definition: GDBRemoteCommunication.h:175
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult::ErrorSendFailed
@ ErrorSendFailed
lldb_private::process_gdb_remote::GDBRemoteCommunication::m_supports_qEcho
LazyBool m_supports_qEcho
Definition: GDBRemoteCommunication.h:176
lldb_private::process_gdb_remote::CompressionType::LZMA
@ LZMA
lldb_private::process_gdb_remote::GDBRemoteCommunication::m_send_acks
bool m_send_acks
Definition: GDBRemoteCommunication.h:178
lldb_private::process_gdb_remote::GDBRemoteCommunication::ScopedTimeout::m_gdb_comm
GDBRemoteCommunication & m_gdb_comm
Definition: GDBRemoteCommunication.h:115
lldb_private::process_gdb_remote::GDBRemoteCommunication::SetPacketRecorder
void SetPacketRecorder(repro::PacketRecorder *recorder)
Definition: GDBRemoteCommunication.cpp:1228
lldb_private::process_gdb_remote::eWatchpointRead
@ eWatchpointRead
Definition: GDBRemoteCommunication.h:41
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_gid
llvm::support::ubig32_t gdb_st_gid
Definition: GDBRemoteCommunication.h:63
lldb_private::process_gdb_remote::GDBRemoteCommunication::eBroadcastBitRunPacketSent
@ eBroadcastBitRunPacketSent
Definition: GDBRemoteCommunication.h:86
string
string(SUBSTRING ${p} 10 -1 pStripped) if($
Definition: Plugins/CMakeLists.txt:40
Communication.h
lldb_private::process_gdb_remote
Definition: GDBRemoteClientBase.h:17
lldb_private::process_gdb_remote::GDBRemoteCommunication::SendNack
size_t SendNack()
Definition: GDBRemoteCommunication.cpp:105
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_mtime
llvm::support::ubig32_t gdb_st_mtime
Definition: GDBRemoteCommunication.h:69
lldb_private::process_gdb_remote::GDBRemoteCommunication::m_packet_timeout
std::chrono::seconds m_packet_timeout
Definition: GDBRemoteCommunication.h:174
GDBRemoteCommunicationHistory.h
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult::Success
@ Success
lldb_private::process_gdb_remote::GDBRemoteCommunication::GetAck
PacketResult GetAck()
Definition: GDBRemoteCommunication.cpp:212
lldb_private::process_gdb_remote::GDBRemoteCommunication::ScopedTimeout
Definition: GDBRemoteCommunication.h:108
lldb_private::process_gdb_remote::GDBRemoteCommunication::ScopedTimeout::ScopedTimeout
ScopedTimeout(GDBRemoteCommunication &gdb_comm, std::chrono::seconds timeout)
Definition: GDBRemoteCommunication.cpp:1267
lldb_private::process_gdb_remote::GDBRemoteCommunication::ConnectLocally
static llvm::Error ConnectLocally(GDBRemoteCommunication &client, GDBRemoteCommunication &server)
Definition: GDBRemoteCommunication.cpp:1234
lldb_private::process_gdb_remote::GDBRemoteCommunication::ReadPacket
PacketResult ReadPacket(StringExtractorGDBRemote &response, Timeout< std::micro > timeout, bool sync_on_timeout)
Definition: GDBRemoteCommunication.cpp:243
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketType::Standard
@ Standard
lldb_private::Status
Definition: Status.h:44
lldb_private::process_gdb_remote::eBreakpointHardware
@ eBreakpointHardware
Definition: GDBRemoteCommunication.h:39
lldb_private::Timeout< std::micro >
uint32_t
lldb_private::process_gdb_remote::GDBRemoteCommunication::StartListenThread
Status StartListenThread(const char *hostname="127.0.0.1", uint16_t port=0)
Definition: GDBRemoteCommunication.cpp:856
lldb::thread_result_t
void * thread_result_t
Definition: lldb-types.h:62
lldb_private::process_gdb_remote::GDBRemoteCommunication::m_listen_url
std::string m_listen_url
Definition: GDBRemoteCommunication.h:231
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketType
PacketType
Definition: GDBRemoteCommunication.h:89
lldb_private::process_gdb_remote::CompressionType::None
@ None
lldb_private::process_gdb_remote::GDBRemoteCommunication::CheckForPacket
PacketType CheckForPacket(const uint8_t *src, size_t src_len, StringExtractorGDBRemote &packet)
Definition: GDBRemoteCommunication.cpp:637
lldb_private::process_gdb_remote::GDBRemoteCommunication::GetSendAcks
bool GetSendAcks()
Definition: GDBRemoteCommunication.h:138
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_atime
llvm::support::ubig32_t gdb_st_atime
Definition: GDBRemoteCommunication.h:68
lldb_private::process_gdb_remote::CompressionType::LZFSE
@ LZFSE
lldb_private::process_gdb_remote::GDBRemoteCommunication::ReadPacketWithOutputSupport
PacketResult ReadPacketWithOutputSupport(StringExtractorGDBRemote &response, Timeout< std::micro > timeout, bool sync_on_timeout, llvm::function_ref< void(llvm::StringRef)> output_callback)
Definition: GDBRemoteCommunication.cpp:226
lldb_private::process_gdb_remote::GDBRemoteCommunication::SendPacketNoLock
PacketResult SendPacketNoLock(llvm::StringRef payload)
Definition: GDBRemoteCommunication.cpp:116
lldb_private::process_gdb_remote::GDBRemoteCommunication::ScopedTimeout::m_timeout_modified
bool m_timeout_modified
Definition: GDBRemoteCommunication.h:120
uint16_t
lldb_private::process_gdb_remote::GDBRemoteCommunication::GDBRemoteCommunication
GDBRemoteCommunication(const char *comm_name, const char *listener_name)
Definition: GDBRemoteCommunication.cpp:61
lldb_private::process_gdb_remote::CompressionType::ZlibDeflate
@ ZlibDeflate
lldb_private::Platform
Definition: Platform.h:71
lldb_private::repro::PacketRecorder
Definition: GDBRemote.h:85
lldb_private::process_gdb_remote::GDBErrno
GDBErrno
Definition: GDBRemoteCommunication.h:75
lldb_private::process_gdb_remote::eBreakpointSoftware
@ eBreakpointSoftware
Definition: GDBRemoteCommunication.h:38
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult::ErrorDisconnected
@ ErrorDisconnected
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult::ErrorReplyTimeout
@ ErrorReplyTimeout
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult::ErrorReplyFailed
@ ErrorReplyFailed
Error
llvm::Error Error
Definition: UdtRecordCompleter.cpp:30
lldb_private::process_gdb_remote::GDBRemoteCommunication::m_port_promise
std::promise< uint16_t > m_port_promise
Definition: GDBRemoteCommunication.h:228
lldb_private::process_gdb_remote::GDBRemoteCommunication::GetPacketTimeout
std::chrono::seconds GetPacketTimeout() const
Definition: GDBRemoteCommunication.h:151
StringExtractorGDBRemote
Definition: StringExtractorGDBRemote.h:21
lldb_private::process_gdb_remote::GDBRemoteFStatData
Definition: GDBRemoteCommunication.h:57
lldb_private::process_gdb_remote::GDBRemoteCommunicationHistory
The history keeps a circular buffer of GDB remote packets.
Definition: GDBRemoteCommunicationHistory.h:29
lldb_private::process_gdb_remote::GDBStoppointType
GDBStoppointType
Definition: GDBRemoteCommunication.h:36
lldb_private::process_gdb_remote::CompressionType::LZ4
@ LZ4
lldb_private::process_gdb_remote::GDBRemoteFStatData::gdb_st_mode
llvm::support::ubig32_t gdb_st_mode
Definition: GDBRemoteCommunication.h:60
lldb_private::process_gdb_remote::GDBRemoteCommunication::m_is_platform
bool m_is_platform
Definition: GDBRemoteCommunication.h:179
lldb_private::process_gdb_remote::GDBRemoteCommunication::ExpandRLE
static std::string ExpandRLE(std::string)
Expand GDB run-length encoding.
Definition: GDBRemoteCommunication.cpp:1321
lldb_private::process_gdb_remote::GDBRemoteCommunication::operator=
const GDBRemoteCommunication & operator=(const GDBRemoteCommunication &)=delete
lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult::ErrorSendAck
@ ErrorSendAck