Home
last modified time | relevance | path

Searched refs:GDBRemotePacket (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/lldb/source/Utility/
H A DGDBRemote.cpp49 llvm::StringRef GDBRemotePacket::GetTypeStr() const { in GetTypeStr()
51 case GDBRemotePacket::ePacketTypeSend: in GetTypeStr()
53 case GDBRemotePacket::ePacketTypeRecv: in GetTypeStr()
55 case GDBRemotePacket::ePacketTypeInvalid: in GetTypeStr()
61 void GDBRemotePacket::Dump(Stream &strm) const { in Dump()
67 IO &io, GDBRemotePacket::Type &value) { in enumeration()
73 void yaml::ScalarTraits<GDBRemotePacket::BinaryData>::output( in output()
84 void yaml::MappingTraits<GDBRemotePacket>::mapping(IO &io, in mapping()
94 yaml::MappingTraits<GDBRemotePacket>::validate(IO &io, in validate()
141 void PacketRecorder::Record(const GDBRemotePacket &packet) { in Record()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DGDBRemote.h52 struct GDBRemotePacket { struct
54 friend llvm::yaml::MappingTraits<GDBRemotePacket>;
58 GDBRemotePacket() = default; argument
93 void Record(const GDBRemotePacket &packet); argument
126 LLVM_YAML_IS_DOCUMENT_LIST_VECTOR(lldb_private::GDBRemotePacket)
133 struct ScalarEnumerationTraits<lldb_private::GDBRemotePacket::Type> { in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
137 template <> struct ScalarTraits<lldb_private::GDBRemotePacket::BinaryData> { in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
142 lldb_private::GDBRemotePacket::BinaryData &); in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
147 template <> struct MappingTraits<lldb_private::GDBRemotePacket> { in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
148 static void mapping(IO &io, lldb_private::GDBRemotePacket &Packet); in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationHistory.cpp30 GDBRemotePacket::Type type, in AddPacket()
48 GDBRemotePacket::Type type, in AddPacket()
70 const GDBRemotePacket &entry = m_packets[idx]; in Dump()
71 if (entry.type == GDBRemotePacket::ePacketTypeInvalid || in Dump()
89 const GDBRemotePacket &entry = m_packets[idx]; in Dump()
90 if (entry.type == GDBRemotePacket::ePacketTypeInvalid || in Dump()
95 (entry.type == GDBRemotePacket::ePacketTypeSend) ? "send" in Dump()
H A DGDBRemoteCommunicationHistory.h38 void AddPacket(char packet_char, GDBRemotePacket::Type type,
42 GDBRemotePacket::Type type, uint32_t bytes_transmitted);
76 std::vector<GDBRemotePacket> m_packets;
H A DGDBRemoteCommunication.cpp101 m_history.AddPacket(ch, GDBRemotePacket::ePacketTypeSend, bytes_written); in SendAck()
111 m_history.AddPacket(ch, GDBRemotePacket::ePacketTypeSend, bytes_written); in SendNack()
197 GDBRemotePacket::ePacketTypeSend, bytes_written); in SendRawPacketNoLock()
805 GDBRemotePacket::ePacketTypeRecv, total_length); in CheckForPacket()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectReproducer.cpp423 if (llvm::Expected<std::vector<GDBRemotePacket>> packets = in DoExecute()
424 ReadFromYAML<std::vector<GDBRemotePacket>>(*gdb_file)) { in DoExecute()
425 for (GDBRemotePacket &packet : *packets) { in DoExecute()