Home
last modified time | relevance | path

Searched refs:PacketResult (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerLLGS.h142 PacketResult Handle_k(StringExtractorGDBRemote &packet);
163 PacketResult Handle_C(StringExtractorGDBRemote &packet);
165 PacketResult Handle_c(StringExtractorGDBRemote &packet);
182 PacketResult Handle_p(StringExtractorGDBRemote &packet);
184 PacketResult Handle_P(StringExtractorGDBRemote &packet);
186 PacketResult Handle_H(StringExtractorGDBRemote &packet);
188 PacketResult Handle_I(StringExtractorGDBRemote &packet);
195 PacketResult Handle_M(StringExtractorGDBRemote &packet);
199 PacketResult
204 PacketResult Handle_Z(StringExtractorGDBRemote &packet);
[all …]
H A DGDBRemoteCommunicationServerCommon.h39 PacketResult Handle_A(StringExtractorGDBRemote &packet);
41 PacketResult Handle_qHostInfo(StringExtractorGDBRemote &packet);
49 PacketResult Handle_qUserName(StringExtractorGDBRemote &packet);
51 PacketResult Handle_qGroupName(StringExtractorGDBRemote &packet);
53 PacketResult Handle_qSpeedTest(StringExtractorGDBRemote &packet);
55 PacketResult Handle_vFile_Open(StringExtractorGDBRemote &packet);
63 PacketResult Handle_vFile_Size(StringExtractorGDBRemote &packet);
65 PacketResult Handle_vFile_Mode(StringExtractorGDBRemote &packet);
77 PacketResult Handle_vFile_MD5(StringExtractorGDBRemote &packet);
79 PacketResult Handle_qEcho(StringExtractorGDBRemote &packet);
[all …]
H A DGDBRemoteCommunicationServer.h31 std::function<PacketResult(StringExtractorGDBRemote &packet,
43 PacketResult GetPacketAndSendResponse(Timeout<std::micro> timeout,
56 PacketResult Handle_QErrorStringEnable(StringExtractorGDBRemote &packet);
58 PacketResult SendErrorResponse(const Status &error);
60 PacketResult SendErrorResponse(llvm::Error error);
62 PacketResult SendUnimplementedResponse(const char *packet);
64 PacketResult SendErrorResponse(uint8_t error);
66 PacketResult SendIllFormedResponse(const StringExtractorGDBRemote &packet,
69 PacketResult SendOKResponse();
72 PacketResult SendJSONResponse(const llvm::json::Value &value);
[all …]
H A DGDBRemoteCommunicationServer.cpp44 GDBRemoteCommunication::PacketResult
50 if (packet_result == PacketResult::Success) { in GetPacketAndSendResponse()
91 GDBRemoteCommunication::PacketResult
97 GDBRemoteCommunication::PacketResult
105 GDBRemoteCommunication::PacketResult
116 GDBRemoteCommunication::PacketResult
131 GDBRemoteCommunication::PacketResult
138 GDBRemoteCommunication::PacketResult
148 GDBRemoteCommunication::PacketResult
153 GDBRemoteCommunication::PacketResult
[all …]
H A DGDBRemoteCommunicationServerPlatform.h113 PacketResult Handle_qLaunchGDBServer(StringExtractorGDBRemote &packet);
115 PacketResult Handle_qQueryGDBServer(StringExtractorGDBRemote &packet);
117 PacketResult Handle_qKillSpawnedProcess(StringExtractorGDBRemote &packet);
119 PacketResult Handle_qPathComplete(StringExtractorGDBRemote &packet);
121 PacketResult Handle_qProcessInfo(StringExtractorGDBRemote &packet);
123 PacketResult Handle_qGetWorkingDir(StringExtractorGDBRemote &packet);
125 PacketResult Handle_QSetWorkingDir(StringExtractorGDBRemote &packet);
127 PacketResult Handle_qC(StringExtractorGDBRemote &packet);
129 PacketResult Handle_jSignalsInfo(StringExtractorGDBRemote &packet);
H A DGDBRemoteCommunication.cpp115 GDBRemoteCommunication::PacketResult
127 GDBRemoteCommunication::PacketResult
131 PacketResult ret = PacketResult::Success; in SendNotificationPacketNoLock()
150 GDBRemoteCommunication::PacketResult
218 return PacketResult::Success; in GetAck()
225 GDBRemoteCommunication::PacketResult
242 GDBRemoteCommunication::PacketResult
250 PacketResult result = in ReadPacket()
271 return PacketResult::Success; in WaitForPacketNoLock()
1288 using PacketResult = GDBRemoteCommunication::PacketResult; in format() typedef
[all …]
H A DGDBRemoteCommunication.h91 enum class PacketResult { enum
127 PacketResult GetAck();
185 PacketResult SendPacketNoLock(llvm::StringRef payload);
186 PacketResult SendNotificationPacketNoLock(llvm::StringRef notify_type,
189 PacketResult SendRawPacketNoLock(llvm::StringRef payload,
192 PacketResult ReadPacket(StringExtractorGDBRemote &response,
195 PacketResult ReadPacketWithOutputSupport(
200 PacketResult WaitForPacketNoLock(StringExtractorGDBRemote &response,
249 lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult> {
251 GDBRemoteCommunication::PacketResult &state,
H A DGDBRemoteClientBase.cpp68 case PacketResult::ErrorReplyTimeout: { in SendContinuePacketAndWaitForResponse()
88 case PacketResult::Success: in SendContinuePacketAndWaitForResponse()
181 GDBRemoteCommunication::PacketResult
192 return PacketResult::ErrorSendFailed; in SendPacketAndWaitForResponse()
198 GDBRemoteCommunication::PacketResult
210 return PacketResult::ErrorSendFailed; in SendPacketAndReceiveResponseWithOutputSupport()
214 if (packet_result != PacketResult::Success) in SendPacketAndReceiveResponseWithOutputSupport()
221 GDBRemoteCommunication::PacketResult
225 if (packet_result != PacketResult::Success) in SendPacketAndWaitForResponseNoLock()
232 if (packet_result != PacketResult::Success) in SendPacketAndWaitForResponseNoLock()
[all …]
H A DGDBRemoteCommunicationServerLLGS.cpp477 GDBRemoteCommunication::PacketResult
999 GDBRemoteCommunication::PacketResult
1190 GDBRemoteCommunication::PacketResult
1195 return PacketResult::Success; in SendONotification()
1435 return PacketResult::Success; in Handle_k()
1476 return PacketResult::Success; in Handle_vKill()
1548 return PacketResult::Success; in ResumeProcess()
1851 PacketResult resume_res = in Handle_vCont()
2469 return PacketResult::Success; in Handle_interrupt()
2664 return PacketResult::Success; in Handle_M()
[all …]
H A DGDBRemoteCommunicationClient.cpp204 PacketResult::Success) { in QueryNoAckModeSupported()
221 PacketResult::Success) { in GetListThreadsInStopReplySupported()
234 PacketResult::Success) { in GetVAttachOrWaitSupported()
248 PacketResult::Success) { in GetSyncThreadStateSupported()
356 PacketResult::Success) { in GetRemoteQSupported()
747 PacketResult::Success) { in GetLaunchSuccess()
1407 PacketResult::Success) { in SendStdinNotification()
2637 PacketResult::Success) in QueryGDBServer()
3718 PacketResult::Success) in GetQOffsets()
3774 PacketResult::Success) in GetModuleInfo()
[all …]
H A DGDBRemoteCommunicationServerCommon.cpp178 GDBRemoteCommunication::PacketResult
314 GDBRemoteCommunication::PacketResult
331 GDBRemoteCommunication::PacketResult
414 GDBRemoteCommunication::PacketResult
426 GDBRemoteCommunication::PacketResult
449 GDBRemoteCommunication::PacketResult
468 GDBRemoteCommunication::PacketResult
500 GDBRemoteCommunication::PacketResult
549 GDBRemoteCommunication::PacketResult
572 GDBRemoteCommunication::PacketResult
[all …]
H A DGDBRemoteCommunicationServerPlatform.cpp152 return PacketResult::Success; in GDBRemoteCommunicationServerPlatform()
225 GDBRemoteCommunication::PacketResult
279 if (packet_result != PacketResult::Success) { in Handle_qLaunchGDBServer()
286 GDBRemoteCommunication::PacketResult
311 GDBRemoteCommunication::PacketResult
389 GDBRemoteCommunication::PacketResult
407 GDBRemoteCommunication::PacketResult
439 GDBRemoteCommunication::PacketResult
452 GDBRemoteCommunication::PacketResult
464 GDBRemoteCommunication::PacketResult
[all …]
H A DGDBRemoteClientBase.h53 PacketResult SendPacketAndWaitForResponse(
57 PacketResult SendPacketAndReceiveResponseWithOutputSupport(
91 PacketResult
H A DProcessGDBRemote.cpp451 GDBRemoteCommunication::PacketResult::Success) { in BuildDynamicRegisterInfo()
2545 GDBRemoteCommunication::PacketResult::Success) { in DoReadMemory()
2702 GDBRemoteCommunication::PacketResult::Success) { in FlashErase()
2732 GDBRemoteCommunication::PacketResult::Success) { in FlashDone()
2793 GDBRemoteCommunication::PacketResult::Success) { in DoWriteMemory()
3811 GDBRemoteCommunication::PacketResult::Success) { in GetExtendedInfoForThread()
3883 GDBRemoteCommunication::PacketResult::Success) { in GetLoadedDynamicLibrariesInfos_sender()
3916 GDBRemoteCommunication::PacketResult::Success) { in GetSharedCacheInfo()
4652 GDBRemoteCommunication::PacketResult::Success) in GetFileLoadAddress()
4817 GDBRemoteCommunication::PacketResult::Success) { in SaveCore()
H A DGDBRemoteCommunicationClient.h631 PacketResult SendThreadSpecificPacketAndWaitForResponse(
/llvm-project-15.0.7/lldb/unittests/Process/gdb-remote/
H A DGDBRemoteClientBaseTest.cpp22 typedef GDBRemoteCommunication::PacketResult PacketResult; typedef
86 ASSERT_EQ(PacketResult::Success, server.SendPacket("T01")); in TEST_F()
93 ASSERT_EQ(PacketResult::Success, server.SendPacket("W01")); in TEST_F()
100 ASSERT_EQ(PacketResult::Success, server.SendPacket("X01")); in TEST_F()
127 ASSERT_EQ(PacketResult::Success, server.SendPacket("T13")); in TEST_F()
135 ASSERT_EQ(PacketResult::Success, server.SendPacket("T47")); in TEST_F()
151 ASSERT_EQ(PacketResult::ErrorSendFailed, in TEST_F()
170 ASSERT_EQ(PacketResult::Success, async_result.get()); in TEST_F()
272 ASSERT_EQ(PacketResult::Success, send_result.get()); in TEST_F()
349 ASSERT_EQ(PacketResult::Success, server.SendPacket("O")); in TEST_F()
[all …]
H A DGDBRemoteCommunicationTest.cpp14 typedef GDBRemoteCommunication::PacketResult PacketResult; typedef
23 PacketResult ReadPacket(StringExtractorGDBRemote &response) { in ReadPacket()
67 ASSERT_EQ(PacketResult::Success, client.ReadPacket(response)); in TEST_F()
69 ASSERT_EQ(PacketResult::Success, server.GetAck()); in TEST_F()
H A DGDBRemoteCommunicationClientTest.cpp29 typedef GDBRemoteCommunication::PacketResult PacketResult; typedef
37 ASSERT_EQ(PacketResult::Success, server.GetPacket(request)); in Handle_QThreadSuffixSupported()
40 ASSERT_EQ(PacketResult::Success, server.SendOKResponse()); in Handle_QThreadSuffixSupported()
42 ASSERT_EQ(PacketResult::Success, server.SendUnimplementedResponse(nullptr)); in Handle_QThreadSuffixSupported()
49 ASSERT_EQ(PacketResult::Success, server.GetPacket(request)); in HandlePacket()
51 ASSERT_EQ(PacketResult::Success, server.SendPacket(response)); in HandlePacket()
272 PacketResult result = server.GetPacket(request); in TEST_F()
273 if (result == PacketResult::ErrorDisconnected) in TEST_F()
275 ASSERT_EQ(PacketResult::Success, result); in TEST_F()
281 ASSERT_EQ(PacketResult::Success, server.SendPacket(response)); in TEST_F()
H A DGDBRemoteTestUtils.h62 PacketResult SendPacket(llvm::StringRef payload) { in SendPacket()
66 PacketResult GetPacket(StringExtractorGDBRemote &response) { in GetPacket()
/llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/
H A DTestClient.cpp183 if (Error E = SendMessage(message, response_string, PacketResult::Success)) in SendMessage()
192 PacketResult expected_result) { in SendMessage()
195 PacketResult result = SendPacketAndWaitForResponse(message, response); in SendMessage()
264 PacketResult result = ReadPacket(R, GetPacketTimeout(), false); in Continue()
265 if (result != PacketResult::ErrorDisconnected) { in Continue()
H A DTestClient.h75 PacketResult expected_result);
92 lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonShuffler.cpp628 HexagonPacket PacketResult = Packet; in tryAuction() local
630 llvm::stable_sort(PacketResult, HexagonInstr::lessCore); in tryAuction()
633 llvm::all_of(insts(PacketResult), [&AuctionCore](HexagonInstr const &I) { in tryAuction()
640 for (HexagonInstr const &ISJ : insts(PacketResult)) in tryAuction()
647 Res = PacketResult; in tryAuction()
/llvm-project-15.0.7/lldb/tools/lldb-server/
H A Dlldb-platform.cpp371 GDBRemoteCommunication::PacketResult::Success) in main_platform()