Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerLLGS.h132 PacketResult SendONotification(const char *buffer, uint32_t len);
134 PacketResult SendWResponse(NativeProcessProtocol *process);
138 PacketResult SendStopReplyPacketForThread(NativeProcessProtocol &process,
142 PacketResult SendStopReasonForState(NativeProcessProtocol &process,
148 PacketResult Handle_k(StringExtractorGDBRemote &packet);
150 PacketResult Handle_vKill(StringExtractorGDBRemote &packet);
152 PacketResult Handle_qProcessInfo(StringExtractorGDBRemote &packet);
154 PacketResult Handle_qC(StringExtractorGDBRemote &packet);
156 PacketResult Handle_QSetDisableASLR(StringExtractorGDBRemote &packet);
158 PacketResult Handle_QSetWorkingDir(StringExtractorGDBRemote &packet);
[all …]
H A DGDBRemoteCommunicationServerCommon.h38 PacketResult Handle_A(StringExtractorGDBRemote &packet);
40 PacketResult Handle_qHostInfo(StringExtractorGDBRemote &packet);
42 PacketResult Handle_qProcessInfoPID(StringExtractorGDBRemote &packet);
44 PacketResult Handle_qfProcessInfo(StringExtractorGDBRemote &packet);
46 PacketResult Handle_qsProcessInfo(StringExtractorGDBRemote &packet);
48 PacketResult Handle_qUserName(StringExtractorGDBRemote &packet);
50 PacketResult Handle_qGroupName(StringExtractorGDBRemote &packet);
52 PacketResult Handle_qSpeedTest(StringExtractorGDBRemote &packet);
54 PacketResult Handle_vFile_Open(StringExtractorGDBRemote &packet);
56 PacketResult Handle_vFile_Close(StringExtractorGDBRemote &packet);
[all …]
H A DGDBRemoteCommunicationServer.h31 std::function<PacketResult(StringExtractorGDBRemote &packet,
42 PacketResult GetPacketAndSendResponse(Timeout<std::micro> timeout,
55 PacketResult Handle_QErrorStringEnable(StringExtractorGDBRemote &packet);
57 PacketResult SendErrorResponse(const Status &error);
59 PacketResult SendErrorResponse(llvm::Error error);
61 PacketResult SendUnimplementedResponse(const char *packet);
63 PacketResult SendErrorResponse(uint8_t error);
65 PacketResult SendIllFormedResponse(const StringExtractorGDBRemote &packet,
68 PacketResult SendOKResponse();
71 PacketResult SendJSONResponse(const llvm::json::Value &value);
[all …]
H A DGDBRemoteCommunicationServerPlatform.h52 PacketResult Handle_qLaunchGDBServer(StringExtractorGDBRemote &packet);
54 PacketResult Handle_qQueryGDBServer(StringExtractorGDBRemote &packet);
56 PacketResult Handle_qKillSpawnedProcess(StringExtractorGDBRemote &packet);
58 PacketResult Handle_qPathComplete(StringExtractorGDBRemote &packet);
60 PacketResult Handle_qProcessInfo(StringExtractorGDBRemote &packet);
62 PacketResult Handle_qGetWorkingDir(StringExtractorGDBRemote &packet);
64 PacketResult Handle_QSetWorkingDir(StringExtractorGDBRemote &packet);
66 PacketResult Handle_qC(StringExtractorGDBRemote &packet);
68 PacketResult Handle_jSignalsInfo(StringExtractorGDBRemote &packet);
H A DGDBRemoteCommunicationServer.cpp43 GDBRemoteCommunication::PacketResult
48 PacketResult packet_result = ReadPacket(packet, timeout, false); in GetPacketAndSendResponse()
49 if (packet_result == PacketResult::Success) { in GetPacketAndSendResponse()
90 GDBRemoteCommunication::PacketResult
96 GDBRemoteCommunication::PacketResult
104 GDBRemoteCommunication::PacketResult
116 GDBRemoteCommunication::PacketResult
131 GDBRemoteCommunication::PacketResult
138 GDBRemoteCommunication::PacketResult
148 GDBRemoteCommunication::PacketResult
[all …]
H A DGDBRemoteCommunication.cpp101 GDBRemoteCommunication::PacketResult
113 GDBRemoteCommunication::PacketResult
117 PacketResult ret = PacketResult::Success; in SendNotificationPacketNoLock()
136 GDBRemoteCommunication::PacketResult
189 return PacketResult::Success; in SendRawPacketNoLock()
195 return PacketResult::ErrorSendFailed; in SendRawPacketNoLock()
198 GDBRemoteCommunication::PacketResult GDBRemoteCommunication::GetAck() { in GetAck()
200 PacketResult result = WaitForPacketNoLock(packet, GetPacketTimeout(), false); in GetAck()
201 if (result == PacketResult::Success) { in GetAck()
204 return PacketResult::Success; in GetAck()
[all …]
H A DGDBRemoteClientBase.cpp62 PacketResult read_result = ReadPacket(response, computed_timeout, false); in SendContinuePacketAndWaitForResponse()
67 case PacketResult::ErrorReplyTimeout: { in SendContinuePacketAndWaitForResponse()
87 case PacketResult::Success: in SendContinuePacketAndWaitForResponse()
180 GDBRemoteCommunication::PacketResult
191 return PacketResult::ErrorSendFailed; in SendPacketAndWaitForResponse()
197 GDBRemoteCommunication::PacketResult
203 while (result == PacketResult::Success && response.IsNormalResponse() && in ReadPacketWithOutputSupport()
214 GDBRemoteCommunication::PacketResult
226 return PacketResult::ErrorSendFailed; in SendPacketAndReceiveResponseWithOutputSupport()
229 PacketResult packet_result = SendPacketNoLock(payload); in SendPacketAndReceiveResponseWithOutputSupport()
[all …]
H A DGDBRemoteCommunication.h75 enum class PacketResult { enum
111 PacketResult GetAck();
163 PacketResult SendPacketNoLock(llvm::StringRef payload);
164 PacketResult SendNotificationPacketNoLock(llvm::StringRef notify_type,
167 PacketResult SendRawPacketNoLock(llvm::StringRef payload,
170 PacketResult ReadPacket(StringExtractorGDBRemote &response,
173 PacketResult WaitForPacketNoLock(StringExtractorGDBRemote &response,
209 lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult> {
211 GDBRemoteCommunication::PacketResult &state,
H A DGDBRemoteCommunicationServerLLGS.cpp473 GDBRemoteCommunication::PacketResult
1000 GDBRemoteCommunication::PacketResult
1013 PacketResult ret = SendNotificationPacketNoLock( in SendStopReplyPacketForThread()
1044 PacketResult result = SendStopReasonForState( in HandleInferiorState_Exited()
1046 if (result != PacketResult::Success) { in HandleInferiorState_Exited()
1086 PacketResult result = SendStopReasonForState( in HandleInferiorState_Stopped()
1088 if (result != PacketResult::Success) { in HandleInferiorState_Stopped()
1163 const PacketResult result = GetPacketAndSendResponse( in DataAvailableCallback()
1165 if (result == PacketResult::ErrorReplyTimeout) in DataAvailableCallback()
1168 if ((result != PacketResult::Success)) { in DataAvailableCallback()
[all …]
H A DGDBRemoteCommunicationServerCommon.cpp177 GDBRemoteCommunication::PacketResult
316 GDBRemoteCommunication::PacketResult
333 GDBRemoteCommunication::PacketResult
416 GDBRemoteCommunication::PacketResult
428 GDBRemoteCommunication::PacketResult
451 GDBRemoteCommunication::PacketResult
470 GDBRemoteCommunication::PacketResult
513 GDBRemoteCommunication::PacketResult
549 GDBRemoteCommunication::PacketResult
572 GDBRemoteCommunication::PacketResult
[all …]
H A DGDBRemoteCommunicationClient.cpp227 PacketResult::Success) { in QueryNoAckModeSupported()
244 PacketResult::Success) { in GetListThreadsInStopReplySupported()
257 PacketResult::Success) { in GetVAttachOrWaitSupported()
271 PacketResult::Success) { in GetSyncThreadStateSupported()
388 PacketResult::Success) { in GetRemoteQSupported()
466 PacketResult::Success) { in GetThreadSuffixSupported()
483 PacketResult::Success) { in GetVContSupported()
532 GDBRemoteCommunication::PacketResult
543 return PacketResult::ErrorNoSequenceLock; in SendThreadSpecificPacketAndWaitForResponse()
550 return PacketResult::ErrorSendFailed; in SendThreadSpecificPacketAndWaitForResponse()
[all …]
H A DGDBRemoteCommunicationServerPlatform.cpp87 return PacketResult::Success; in GDBRemoteCommunicationServerPlatform()
148 GDBRemoteCommunication::PacketResult
192 PacketResult packet_result = SendPacketNoLock(response.GetString()); in Handle_qLaunchGDBServer()
193 if (packet_result != PacketResult::Success) { in Handle_qLaunchGDBServer()
200 GDBRemoteCommunication::PacketResult
227 GDBRemoteCommunication::PacketResult
297 GDBRemoteCommunication::PacketResult
315 GDBRemoteCommunication::PacketResult
347 GDBRemoteCommunication::PacketResult
360 GDBRemoteCommunication::PacketResult
[all …]
H A DGDBRemoteClientBase.h62 PacketResult SendPacketAndWaitForResponse(
67 PacketResult ReadPacketWithOutputSupport(
72 PacketResult SendPacketAndReceiveResponseWithOutputSupport(
106 PacketResult
H A DProcessGDBRemote.cpp453 GDBRemoteCommunication::PacketResult::Success) { in BuildDynamicRegisterInfo()
2690 GDBRemoteCommunication::PacketResult::Success) { in DoReadMemory()
2856 GDBRemoteCommunication::PacketResult::Success) { in FlashErase()
2887 GDBRemoteCommunication::PacketResult::Success) { in FlashDone()
2950 GDBRemoteCommunication::PacketResult::Success) { in DoWriteMemory()
4033 GDBRemoteCommunication::PacketResult::Success) { in GetExtendedInfoForThread()
4102 GDBRemoteCommunication::PacketResult::Success) { in GetLoadedDynamicLibrariesInfos_sender()
4124 GDBRemoteCommunication::PacketResult::Success) { in GetDynamicLoaderProcessState()
4156 GDBRemoteCommunication::PacketResult::Success) { in GetSharedCacheInfo()
5299 GDBRemoteCommunication::PacketResult::Success) in GetFileLoadAddress()
[all …]
H A DGDBRemoteCommunicationClient.h646 PacketResult SendThreadSpecificPacketAndWaitForResponse(
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-platform.cpp253 GDBRemoteCommunication::PacketResult::Success) in client_handle()