LLDB mainline
|
GDB remote packet as used by the GDB remote communication history. More...
#include <GDBRemote.h>
Classes | |
struct | BinaryData |
Public Types | |
enum | Type { ePacketTypeInvalid = 0 , ePacketTypeSend , ePacketTypeRecv } |
Public Member Functions | |
GDBRemotePacket ()=default | |
void | Clear () |
void | Dump (Stream &strm) const |
Public Attributes | |
BinaryData | packet |
Type | type = ePacketTypeInvalid |
uint32_t | bytes_transmitted = 0 |
uint32_t | packet_idx = 0 |
lldb::tid_t | tid = LLDB_INVALID_THREAD_ID |
Private Member Functions | |
llvm::StringRef | GetTypeStr () const |
GDB remote packet as used by the GDB remote communication history.
Packets can be serialized to file.
Definition at line 50 of file GDBRemote.h.
Enumerator | |
---|---|
ePacketTypeInvalid | |
ePacketTypeSend | |
ePacketTypeRecv |
Definition at line 52 of file GDBRemote.h.
|
default |
|
inline |
Definition at line 56 of file GDBRemote.h.
References bytes_transmitted, lldb_private::GDBRemotePacket::BinaryData::data, ePacketTypeInvalid, LLDB_INVALID_THREAD_ID, packet, packet_idx, tid, and type.
void GDBRemotePacket::Dump | ( | Stream & | strm | ) | const |
Definition at line 60 of file GDBRemote.cpp.
References bytes_transmitted, lldb_private::GDBRemotePacket::BinaryData::data, GetTypeStr(), packet, lldb_private::Stream::Printf(), and tid.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationHistory::Dump().
|
private |
Definition at line 48 of file GDBRemote.cpp.
References ePacketTypeInvalid, ePacketTypeRecv, ePacketTypeSend, and type.
Referenced by Dump().
uint32_t lldb_private::GDBRemotePacket::bytes_transmitted = 0 |
Definition at line 72 of file GDBRemote.h.
Referenced by Clear(), lldb_private::process_gdb_remote::GDBRemoteCommunicationHistory::Dump(), and Dump().
BinaryData lldb_private::GDBRemotePacket::packet |
Definition at line 70 of file GDBRemote.h.
Referenced by Clear(), Dump(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationHistory::Dump().
uint32_t lldb_private::GDBRemotePacket::packet_idx = 0 |
Definition at line 73 of file GDBRemote.h.
Referenced by Clear(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationHistory::Dump().
lldb::tid_t lldb_private::GDBRemotePacket::tid = LLDB_INVALID_THREAD_ID |
Definition at line 74 of file GDBRemote.h.
Referenced by Clear(), lldb_private::process_gdb_remote::GDBRemoteCommunicationHistory::Dump(), and Dump().
Type lldb_private::GDBRemotePacket::type = ePacketTypeInvalid |
Definition at line 71 of file GDBRemote.h.
Referenced by Clear(), lldb_private::process_gdb_remote::GDBRemoteCommunicationHistory::Dump(), and GetTypeStr().