Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Utility/
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()
66 void yaml::ScalarEnumerationTraits<GDBRemotePacket::Type>::enumeration( in enumeration()
67 IO &io, GDBRemotePacket::Type &value) { in enumeration()
68 io.enumCase(value, "Invalid", GDBRemotePacket::ePacketTypeInvalid); in enumeration()
69 io.enumCase(value, "Send", GDBRemotePacket::ePacketTypeSend); in enumeration()
70 io.enumCase(value, "Recv", GDBRemotePacket::ePacketTypeRecv); in enumeration()
[all …]
/external/llvm-project/lldb/include/lldb/Utility/
DGDBRemote.h52 struct GDBRemotePacket { struct
54 friend llvm::yaml::MappingTraits<GDBRemotePacket>;
58 GDBRemotePacket() in GDBRemotePacket() argument
95 void Record(const GDBRemotePacket &packet); argument
128 LLVM_YAML_IS_DOCUMENT_LIST_VECTOR(lldb_private::GDBRemotePacket)
129 LLVM_YAML_IS_DOCUMENT_LIST_VECTOR(std::vector<lldb_private::GDBRemotePacket>) in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR() argument
135 struct ScalarEnumerationTraits<lldb_private::GDBRemotePacket::Type> { in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
136 static void enumeration(IO &io, lldb_private::GDBRemotePacket::Type &value); in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
139 template <> struct ScalarTraits<lldb_private::GDBRemotePacket::BinaryData> { in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
140 static void output(const lldb_private::GDBRemotePacket::BinaryData &, void *, in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
[all …]
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationHistory.cpp31 GDBRemotePacket::Type type, in AddPacket()
49 GDBRemotePacket::Type type, in AddPacket()
71 const GDBRemotePacket &entry = m_packets[idx]; in Dump()
72 if (entry.type == GDBRemotePacket::ePacketTypeInvalid || in Dump()
90 const GDBRemotePacket &entry = m_packets[idx]; in Dump()
91 if (entry.type == GDBRemotePacket::ePacketTypeInvalid || in Dump()
96 (entry.type == GDBRemotePacket::ePacketTypeSend) ? "send" in Dump()
DGDBRemoteCommunicationHistory.h38 void AddPacket(char packet_char, GDBRemotePacket::Type type,
42 GDBRemotePacket::Type type, uint32_t bytes_transmitted);
76 std::vector<GDBRemotePacket> m_packets;
DGDBRemoteCommunicationReplayServer.cpp131 GDBRemotePacket entry = m_packet_history.back(); in GetPacketAndSendResponse()
143 if (entry.type == GDBRemotePacket::ePacketTypeSend) { in GetPacketAndSendResponse()
164 GDBRemotePacket::ePacketTypeRecv); in GetPacketAndSendResponse()
171 if (entry.type == GDBRemotePacket::ePacketTypeInvalid) { in GetPacketAndSendResponse()
DGDBRemoteCommunicationReplayServer.h68 std::vector<GDBRemotePacket> m_packet_history;
DGDBRemoteCommunication.cpp107 m_history.AddPacket(ch, GDBRemotePacket::ePacketTypeSend, bytes_written); in SendAck()
117 m_history.AddPacket(ch, GDBRemotePacket::ePacketTypeSend, bytes_written); in SendNack()
180 GDBRemotePacket::ePacketTypeSend, bytes_written); in SendRawPacketNoLock()
810 GDBRemotePacket::ePacketTypeRecv, total_length); in CheckForPacket()
/external/llvm-project/lldb/source/Commands/
DCommandObjectReproducer.cpp547 if (llvm::Expected<std::vector<GDBRemotePacket>> packets = in DoExecute()
548 ReadFromYAML<std::vector<GDBRemotePacket>>(*gdb_file)) { in DoExecute()
549 for (GDBRemotePacket &packet : *packets) { in DoExecute()