Home
last modified time | relevance | path

Searched refs:StringExtractorGDBRemote (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.h19 class StringExtractorGDBRemote; variable
38 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);
[all …]
H A DGDBRemoteCommunicationServerLLGS.h24 class StringExtractorGDBRemote; variable
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);
160 PacketResult Handle_qGetWorkingDir(StringExtractorGDBRemote &packet);
162 PacketResult Handle_QThreadSuffixSupported(StringExtractorGDBRemote &packet);
164 PacketResult Handle_QListThreadsInStopReply(StringExtractorGDBRemote &packet);
[all …]
H A DGDBRemoteCommunicationServerCommon.cpp64 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_A, in GDBRemoteCommunicationServerCommon()
67 StringExtractorGDBRemote::eServerPacketType_QEnvironment, in GDBRemoteCommunicationServerCommon()
70 StringExtractorGDBRemote::eServerPacketType_QEnvironmentHexEncoded, in GDBRemoteCommunicationServerCommon()
73 StringExtractorGDBRemote::eServerPacketType_qfProcessInfo, in GDBRemoteCommunicationServerCommon()
76 StringExtractorGDBRemote::eServerPacketType_qGroupName, in GDBRemoteCommunicationServerCommon()
79 StringExtractorGDBRemote::eServerPacketType_qHostInfo, in GDBRemoteCommunicationServerCommon()
82 StringExtractorGDBRemote::eServerPacketType_QLaunchArch, in GDBRemoteCommunicationServerCommon()
85 StringExtractorGDBRemote::eServerPacketType_qLaunchSuccess, in GDBRemoteCommunicationServerCommon()
88 StringExtractorGDBRemote::eServerPacketType_qEcho, in GDBRemoteCommunicationServerCommon()
91 StringExtractorGDBRemote::eServerPacketType_qModuleInfo, in GDBRemoteCommunicationServerCommon()
[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 DGDBRemoteCommunicationServer.cpp30 StringExtractorGDBRemote::eServerPacketType_QEnableErrorStrings, in GDBRemoteCommunicationServer()
31 [this](StringExtractorGDBRemote packet, Status &error, bool &interrupt, in GDBRemoteCommunicationServer()
38 StringExtractorGDBRemote::ServerPacketType packet_type, in RegisterPacketHandler()
46 StringExtractorGDBRemote packet; in GetPacketAndSendResponse()
50 const StringExtractorGDBRemote::ServerPacketType packet_type = in GetPacketAndSendResponse()
53 case StringExtractorGDBRemote::eServerPacketType_nack: in GetPacketAndSendResponse()
54 case StringExtractorGDBRemote::eServerPacketType_ack: in GetPacketAndSendResponse()
57 case StringExtractorGDBRemote::eServerPacketType_invalid: in GetPacketAndSendResponse()
62 case StringExtractorGDBRemote::eServerPacketType_unimplemented: in GetPacketAndSendResponse()
132 StringExtractorGDBRemote &packet) { in Handle_QErrorStringEnable()
[all …]
H A DGDBRemoteCommunicationServerLLGS.cpp79 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_C, in RegisterPacketHandlers()
81 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_c, in RegisterPacketHandlers()
83 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_D, in RegisterPacketHandlers()
85 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_H, in RegisterPacketHandlers()
87 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_I, in RegisterPacketHandlers()
90 StringExtractorGDBRemote::eServerPacketType_interrupt, in RegisterPacketHandlers()
93 StringExtractorGDBRemote::eServerPacketType_m, in RegisterPacketHandlers()
95 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_M, in RegisterPacketHandlers()
97 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType__M, in RegisterPacketHandlers()
99 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType__m, in RegisterPacketHandlers()
[all …]
H A DGDBRemoteCommunicationServer.h21 class StringExtractorGDBRemote; variable
31 std::function<PacketResult(StringExtractorGDBRemote &packet,
39 RegisterPacketHandler(StringExtractorGDBRemote::ServerPacketType packet_type,
47 std::map<StringExtractorGDBRemote::ServerPacketType, PacketHandler>
55 PacketResult Handle_QErrorStringEnable(StringExtractorGDBRemote &packet);
65 PacketResult SendIllFormedResponse(const StringExtractorGDBRemote &packet,
H A DGDBRemoteCommunicationServerPlatform.cpp122 StringExtractorGDBRemote::eServerPacketType_qC, in GDBRemoteCommunicationServerPlatform()
125 StringExtractorGDBRemote::eServerPacketType_qGetWorkingDir, in GDBRemoteCommunicationServerPlatform()
128 StringExtractorGDBRemote::eServerPacketType_qLaunchGDBServer, in GDBRemoteCommunicationServerPlatform()
131 StringExtractorGDBRemote::eServerPacketType_qQueryGDBServer, in GDBRemoteCommunicationServerPlatform()
134 StringExtractorGDBRemote::eServerPacketType_qKillSpawnedProcess, in GDBRemoteCommunicationServerPlatform()
137 StringExtractorGDBRemote::eServerPacketType_qProcessInfo, in GDBRemoteCommunicationServerPlatform()
140 StringExtractorGDBRemote::eServerPacketType_qPathComplete, in GDBRemoteCommunicationServerPlatform()
143 StringExtractorGDBRemote::eServerPacketType_QSetWorkingDir, in GDBRemoteCommunicationServerPlatform()
146 StringExtractorGDBRemote::eServerPacketType_jSignalsInfo, in GDBRemoteCommunicationServerPlatform()
149 RegisterPacketHandler(StringExtractorGDBRemote::eServerPacketType_interrupt, in GDBRemoteCommunicationServerPlatform()
[all …]
H A DGDBRemoteCommunicationClient.cpp211 StringExtractorGDBRemote response; in QueryNoAckModeSupported()
228 StringExtractorGDBRemote response; in GetListThreadsInStopReplySupported()
241 StringExtractorGDBRemote response; in GetVAttachOrWaitSupported()
255 StringExtractorGDBRemote response; in GetSyncThreadStateSupported()
364 StringExtractorGDBRemote response; in GetRemoteQSupported()
420 StringExtractorGDBRemote packet_response(x); in GetRemoteQSupported()
435 StringExtractorGDBRemote response; in GetThreadSuffixSupported()
447 StringExtractorGDBRemote response; in GetVContSupported()
507 StringExtractorGDBRemote &response) { in SendThreadSpecificPacketAndWaitForResponse()
542 StringExtractorGDBRemote response; in GetThreadPacketSupported()
[all …]
H A DGDBRemoteClientBase.h47 StringExtractorGDBRemote &response);
58 llvm::StringRef payload, StringExtractorGDBRemote &response,
62 StringExtractorGDBRemote &response, Timeout<std::micro> timeout,
67 llvm::StringRef payload, StringExtractorGDBRemote &response,
102 StringExtractorGDBRemote &response);
152 StringExtractorGDBRemote &response);
H A DGDBRemoteClientBase.cpp41 StringExtractorGDBRemote &response) { in SendContinuePacketAndWaitForResponse()
182 llvm::StringRef payload, StringExtractorGDBRemote &response, in SendPacketAndWaitForResponse()
199 StringExtractorGDBRemote &response, Timeout<std::micro> timeout, in ReadPacketWithOutputSupport()
216 llvm::StringRef payload, StringExtractorGDBRemote &response, in SendPacketAndReceiveResponseWithOutputSupport()
239 llvm::StringRef payload, StringExtractorGDBRemote &response) { in SendPacketAndWaitForResponseNoLock()
267 StringExtractorGDBRemote &response) { in ShouldStop()
278 StringExtractorGDBRemote extra_stop_reply_packet; in ShouldStop()
H A DGDBRemoteCommunication.h132 StringExtractorGDBRemote &packet);
190 PacketResult ReadPacket(StringExtractorGDBRemote &response,
193 PacketResult WaitForPacketNoLock(StringExtractorGDBRemote &response,
H A DProcessGDBRemote.cpp434 for (StringExtractorGDBRemote::ResponseType response_type = in BuildDynamicRegisterInfo()
435 StringExtractorGDBRemote::eResponse; in BuildDynamicRegisterInfo()
436 response_type == StringExtractorGDBRemote::eResponse; ++reg_num) { in BuildDynamicRegisterInfo()
441 StringExtractorGDBRemote response; in BuildDynamicRegisterInfo()
445 if (response_type == StringExtractorGDBRemote::eResponse) { in BuildDynamicRegisterInfo()
549 StringExtractorGDBRemote response; in DoConnectRemote()
779 StringExtractorGDBRemote response; in DoLaunch()
863 StringExtractorGDBRemote response; in ConnectToDebugserver()
1408 StringExtractorGDBRemote thread_ids{value}; in UpdateThreadIDsFromStopReplyThreadsValue()
1415 tid != StringExtractorGDBRemote::AllProcesses) in UpdateThreadIDsFromStopReplyThreadsValue()
[all …]
H A DGDBRemoteCommunication.cpp210 StringExtractorGDBRemote packet; in GetAck()
214 StringExtractorGDBRemote::ResponseType::eAck) in GetAck()
223 GDBRemoteCommunication::ReadPacket(StringExtractorGDBRemote &response, in ReadPacket()
226 using ResponseType = StringExtractorGDBRemote::ResponseType; in ReadPacket()
241 GDBRemoteCommunication::WaitForPacketNoLock(StringExtractorGDBRemote &packet, in WaitForPacketNoLock()
322 StringExtractorGDBRemote echo_response; in WaitForPacketNoLock()
617 StringExtractorGDBRemote &packet) { in CheckForPacket()
790 packet = StringExtractorGDBRemote(packet_str); in CheckForPacket()
H A DGDBRemoteCommunicationClient.h262 bool GetStopReply(StringExtractorGDBRemote &response);
264 bool GetThreadStopInfo(lldb::tid_t tid, StringExtractorGDBRemote &response);
628 bool DecodeProcessInfoResponse(StringExtractorGDBRemote &response,
635 StringExtractorGDBRemote &response);
H A DProcessGDBRemote.h234 StringExtractorGDBRemote &inputStringExtractor);
262 std::optional<StringExtractorGDBRemote> m_last_stop_packet;
333 void SetLastStopPacket(const StringExtractorGDBRemote &response);
H A DGDBRemoteRegisterContext.cpp24 #include "lldb/Utility/StringExtractorGDBRemote.h"
340 StringExtractorGDBRemote response; in SetPrimordialRegister()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStringExtractorGDBRemote.cpp15 constexpr lldb::pid_t StringExtractorGDBRemote::AllProcesses;
16 constexpr lldb::tid_t StringExtractorGDBRemote::AllThreads;
18 StringExtractorGDBRemote::ResponseType
19 StringExtractorGDBRemote::GetResponseType() const { in GetResponseType()
57 StringExtractorGDBRemote::ServerPacketType
58 StringExtractorGDBRemote::GetServerPacketType() const { in GetServerPacketType()
473 bool StringExtractorGDBRemote::IsOKResponse() const { in IsOKResponse()
477 bool StringExtractorGDBRemote::IsUnsupportedResponse() const { in IsUnsupportedResponse()
481 bool StringExtractorGDBRemote::IsNormalResponse() const { in IsNormalResponse()
485 bool StringExtractorGDBRemote::IsErrorResponse() const { in IsErrorResponse()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStringExtractorGDBRemote.h22 class StringExtractorGDBRemote : public StringExtractor {
25 void *baton, const StringExtractorGDBRemote &response);
27 StringExtractorGDBRemote() = default;
29 StringExtractorGDBRemote(llvm::StringRef str) in StringExtractorGDBRemote() function
32 StringExtractorGDBRemote(const char *cstr) in StringExtractorGDBRemote() function
37 void CopyResponseValidator(const StringExtractorGDBRemote &rhs);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp710 StringExtractorGDBRemote response; in GetRemoteUnixSignals()
/freebsd/lib/clang/liblldb/
H A DMakefile730 SRCS+= Utility/StringExtractorGDBRemote.cpp