LLDB  mainline
Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
lldb_private::GDBRemotePacket Struct Reference

GDB remote packet as used by the reproducer and the GDB remote communication history. More...

#include <GDBRemote.h>

Collaboration diagram for lldb_private::GDBRemotePacket:
Collaboration graph


struct  BinaryData

Public Types

enum  Type { ePacketTypeInvalid = 0, ePacketTypeSend, ePacketTypeRecv }

Public Member Functions

 GDBRemotePacket ()
void Clear ()
void Dump (Stream &strm) const

Public Attributes

BinaryData packet
Type type
uint32_t bytes_transmitted
uint32_t packet_idx
lldb::tid_t tid

Private Member Functions

llvm::StringRef GetTypeStr () const

Detailed Description

GDB remote packet as used by the reproducer and the GDB remote communication history.

Packets can be serialized to file.

Definition at line 52 of file GDBRemote.h.

Member Enumeration Documentation

◆ Type


Definition at line 56 of file GDBRemote.h.

Constructor & Destructor Documentation

◆ GDBRemotePacket()

lldb_private::GDBRemotePacket::GDBRemotePacket ( )

Definition at line 58 of file GDBRemote.h.

Member Function Documentation

◆ Clear()

void lldb_private::GDBRemotePacket::Clear ( )

◆ Dump()

void GDBRemotePacket::Dump ( Stream strm) const

◆ GetTypeStr()

llvm::StringRef GDBRemotePacket::GetTypeStr ( ) const

Definition at line 49 of file GDBRemote.cpp.

References ePacketTypeInvalid, ePacketTypeRecv, ePacketTypeSend, and type.

Referenced by Dump().

Member Data Documentation

◆ bytes_transmitted

uint32_t lldb_private::GDBRemotePacket::bytes_transmitted

◆ packet

BinaryData lldb_private::GDBRemotePacket::packet

◆ packet_idx

uint32_t lldb_private::GDBRemotePacket::packet_idx

◆ tid

lldb::tid_t lldb_private::GDBRemotePacket::tid

◆ type

Type lldb_private::GDBRemotePacket::type

The documentation for this struct was generated from the following files: