Home
last modified time | relevance | path

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

12

/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerCommon.h20 class StringExtractorGDBRemote; variable
42 PacketResult Handle_A(StringExtractorGDBRemote &packet);
44 PacketResult Handle_qHostInfo(StringExtractorGDBRemote &packet);
46 PacketResult Handle_qProcessInfoPID(StringExtractorGDBRemote &packet);
48 PacketResult Handle_qfProcessInfo(StringExtractorGDBRemote &packet);
50 PacketResult Handle_qsProcessInfo(StringExtractorGDBRemote &packet);
52 PacketResult Handle_qUserName(StringExtractorGDBRemote &packet);
54 PacketResult Handle_qGroupName(StringExtractorGDBRemote &packet);
56 PacketResult Handle_qSpeedTest(StringExtractorGDBRemote &packet);
58 PacketResult Handle_vFile_Open(StringExtractorGDBRemote &packet);
[all …]
DGDBRemoteCommunicationServerLLGS.h22 class StringExtractorGDBRemote; variable
99 PacketResult Handle_k(StringExtractorGDBRemote &packet);
101 PacketResult Handle_qProcessInfo(StringExtractorGDBRemote &packet);
103 PacketResult Handle_qC(StringExtractorGDBRemote &packet);
105 PacketResult Handle_QSetDisableASLR(StringExtractorGDBRemote &packet);
107 PacketResult Handle_QSetWorkingDir(StringExtractorGDBRemote &packet);
109 PacketResult Handle_qGetWorkingDir(StringExtractorGDBRemote &packet);
111 PacketResult Handle_C(StringExtractorGDBRemote &packet);
113 PacketResult Handle_c(StringExtractorGDBRemote &packet);
115 PacketResult Handle_vCont(StringExtractorGDBRemote &packet);
[all …]
DGDBRemoteCommunicationServerCommon.cpp65 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_A, in GDBRemoteCommunicationServerCommon()
68 StringExtractorGDBRemote::eServerPacketType_QEnvironment, in GDBRemoteCommunicationServerCommon()
71 StringExtractorGDBRemote::eServerPacketType_QEnvironmentHexEncoded, in GDBRemoteCommunicationServerCommon()
74 StringExtractorGDBRemote::eServerPacketType_qfProcessInfo, in GDBRemoteCommunicationServerCommon()
77 StringExtractorGDBRemote::eServerPacketType_qGroupName, in GDBRemoteCommunicationServerCommon()
80 StringExtractorGDBRemote::eServerPacketType_qHostInfo, in GDBRemoteCommunicationServerCommon()
83 StringExtractorGDBRemote::eServerPacketType_QLaunchArch, in GDBRemoteCommunicationServerCommon()
86 StringExtractorGDBRemote::eServerPacketType_qLaunchSuccess, in GDBRemoteCommunicationServerCommon()
89 StringExtractorGDBRemote::eServerPacketType_QListThreadsInStopReply, in GDBRemoteCommunicationServerCommon()
92 StringExtractorGDBRemote::eServerPacketType_qEcho, in GDBRemoteCommunicationServerCommon()
[all …]
DGDBRemoteCommunicationServer.cpp29 StringExtractorGDBRemote::eServerPacketType_QEnableErrorStrings, in GDBRemoteCommunicationServer()
30 [this](StringExtractorGDBRemote packet, Status &error, bool &interrupt, in GDBRemoteCommunicationServer()
37 StringExtractorGDBRemote::ServerPacketType packet_type, in RegisterPacketHandler()
45 StringExtractorGDBRemote packet; in GetPacketAndSendResponse()
49 const StringExtractorGDBRemote::ServerPacketType packet_type = in GetPacketAndSendResponse()
52 case StringExtractorGDBRemote::eServerPacketType_nack: in GetPacketAndSendResponse()
53 case StringExtractorGDBRemote::eServerPacketType_ack: in GetPacketAndSendResponse()
56 case StringExtractorGDBRemote::eServerPacketType_invalid: in GetPacketAndSendResponse()
61 case StringExtractorGDBRemote::eServerPacketType_unimplemented: in GetPacketAndSendResponse()
131 StringExtractorGDBRemote &packet) { in Handle_QErrorStringEnable()
[all …]
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);
DGDBRemoteCommunicationServer.h21 class StringExtractorGDBRemote; variable
31 std::function<PacketResult(StringExtractorGDBRemote &packet,
40 RegisterPacketHandler(StringExtractorGDBRemote::ServerPacketType packet_type,
52 std::map<StringExtractorGDBRemote::ServerPacketType, PacketHandler>
60 PacketResult Handle_QErrorStringEnable(StringExtractorGDBRemote &packet);
70 PacketResult SendIllFormedResponse(const StringExtractorGDBRemote &packet,
DGDBRemoteCommunicationServerLLGS.cpp78 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_C, in RegisterPacketHandlers()
80 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_c, in RegisterPacketHandlers()
82 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_D, in RegisterPacketHandlers()
84 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_H, in RegisterPacketHandlers()
86 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_I, in RegisterPacketHandlers()
89 StringExtractorGDBRemote::eServerPacketType_interrupt, in RegisterPacketHandlers()
92 StringExtractorGDBRemote::eServerPacketType_m, in RegisterPacketHandlers()
94 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType_M, in RegisterPacketHandlers()
96 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType__M, in RegisterPacketHandlers()
98 RegisterMemberFunctionHandler(StringExtractorGDBRemote::eServerPacketType__m, in RegisterPacketHandlers()
[all …]
DGDBRemoteCommunicationServerPlatform.cpp119 StringExtractorGDBRemote::eServerPacketType_qC, in GDBRemoteCommunicationServerPlatform()
122 StringExtractorGDBRemote::eServerPacketType_qGetWorkingDir, in GDBRemoteCommunicationServerPlatform()
125 StringExtractorGDBRemote::eServerPacketType_qLaunchGDBServer, in GDBRemoteCommunicationServerPlatform()
128 StringExtractorGDBRemote::eServerPacketType_qQueryGDBServer, in GDBRemoteCommunicationServerPlatform()
131 StringExtractorGDBRemote::eServerPacketType_qKillSpawnedProcess, in GDBRemoteCommunicationServerPlatform()
134 StringExtractorGDBRemote::eServerPacketType_qProcessInfo, in GDBRemoteCommunicationServerPlatform()
137 StringExtractorGDBRemote::eServerPacketType_qPathComplete, in GDBRemoteCommunicationServerPlatform()
140 StringExtractorGDBRemote::eServerPacketType_QSetWorkingDir, in GDBRemoteCommunicationServerPlatform()
143 StringExtractorGDBRemote::eServerPacketType_jSignalsInfo, in GDBRemoteCommunicationServerPlatform()
146 RegisterPacketHandler(StringExtractorGDBRemote::eServerPacketType_interrupt, in GDBRemoteCommunicationServerPlatform()
[all …]
DGDBRemoteClientBase.h42 llvm::StringRef payload, StringExtractorGDBRemote &response);
45 StringExtractorGDBRemote &response,
49 llvm::StringRef payload, StringExtractorGDBRemote &response,
54 StringExtractorGDBRemote &response);
79 StringExtractorGDBRemote &response);
129 StringExtractorGDBRemote &response);
DGDBRemoteCommunicationClient.cpp124 StringExtractorGDBRemote response; in HandshakeWithServer()
220 StringExtractorGDBRemote response; in QueryNoAckModeSupported()
237 StringExtractorGDBRemote response; in GetListThreadsInStopReplySupported()
250 StringExtractorGDBRemote response; in GetVAttachOrWaitSupported()
264 StringExtractorGDBRemote response; in GetSyncThreadStateSupported()
357 StringExtractorGDBRemote response; in GetRemoteQSupported()
438 StringExtractorGDBRemote packet_response(packet_size_str + in GetRemoteQSupported()
454 StringExtractorGDBRemote response; in GetThreadSuffixSupported()
466 StringExtractorGDBRemote response; in GetVContSupported()
525 lldb::tid_t tid, StreamString &&payload, StringExtractorGDBRemote &response, in SendThreadSpecificPacketAndWaitForResponse()
[all …]
DGDBRemoteCommunication.h111 StringExtractorGDBRemote &packet);
164 PacketResult ReadPacket(StringExtractorGDBRemote &response,
168 StringExtractorGDBRemote &response, Timeout<std::micro> timeout,
173 PacketResult PopPacketFromQueue(StringExtractorGDBRemote &response,
176 PacketResult WaitForPacketNoLock(StringExtractorGDBRemote &response,
216 std::queue<StringExtractorGDBRemote> m_packet_queue; // The packet queue
DGDBRemoteClientBase.cpp38 llvm::StringRef payload, StringExtractorGDBRemote &response) { in SendContinuePacketAndWaitForResponse()
156 llvm::StringRef payload, StringExtractorGDBRemote &response, in SendPacketAndWaitForResponse()
174 llvm::StringRef payload, StringExtractorGDBRemote &response, in SendPacketAndReceiveResponseWithOutputSupport()
198 llvm::StringRef payload, StringExtractorGDBRemote &response) { in SendPacketAndWaitForResponseNoLock()
226 StringExtractorGDBRemote &response) { in SendvContPacket()
251 StringExtractorGDBRemote &response) { in ShouldStop()
262 StringExtractorGDBRemote extra_stop_reply_packet; in ShouldStop()
DGDBRemoteCommunicationClient.h157 int SendAttach(lldb::pid_t pid, StringExtractorGDBRemote &response);
297 bool GetStopReply(StringExtractorGDBRemote &response);
299 bool GetThreadStopInfo(lldb::tid_t tid, StringExtractorGDBRemote &response);
608 bool DecodeProcessInfoResponse(StringExtractorGDBRemote &response,
615 StringExtractorGDBRemote &response, bool send_async);
DGDBRemoteCommunication.cpp196 StringExtractorGDBRemote packet; in GetAck()
200 StringExtractorGDBRemote::ResponseType::eAck) in GetAck()
210 StringExtractorGDBRemote &response, Timeout<std::micro> timeout, in ReadPacketWithOutputSupport()
226 GDBRemoteCommunication::ReadPacket(StringExtractorGDBRemote &response, in ReadPacket()
240 GDBRemoteCommunication::PopPacketFromQueue(StringExtractorGDBRemote &response, in PopPacketFromQueue()
266 GDBRemoteCommunication::WaitForPacketNoLock(StringExtractorGDBRemote &packet, in WaitForPacketNoLock()
347 StringExtractorGDBRemote echo_response; in WaitForPacketNoLock()
643 StringExtractorGDBRemote &packet) { in CheckForPacket()
816 packet = StringExtractorGDBRemote(packet_str); in CheckForPacket()
1291 StringExtractorGDBRemote packet; in AppendBytesToCache()
DProcessGDBRemote.cpp456 for (StringExtractorGDBRemote::ResponseType response_type = in BuildDynamicRegisterInfo()
457 StringExtractorGDBRemote::eResponse; in BuildDynamicRegisterInfo()
458 response_type == StringExtractorGDBRemote::eResponse; ++reg_num) { in BuildDynamicRegisterInfo()
463 StringExtractorGDBRemote response; in BuildDynamicRegisterInfo()
467 if (response_type == StringExtractorGDBRemote::eResponse) { in BuildDynamicRegisterInfo()
658 StringExtractorGDBRemote response; in DoConnectRemote()
902 StringExtractorGDBRemote response; in DoLaunch()
1012 StringExtractorGDBRemote response; in ConnectToDebugserver()
1473 StringExtractorGDBRemote response; in HandleStopReplySequence()
1568 StringExtractorGDBRemote &stop_info = m_stop_packet_stack[i]; in UpdateThreadIDList()
[all …]
DProcessGDBRemote.h235 StringExtractorGDBRemote &inputStringExtractor);
252 std::vector<StringExtractorGDBRemote> m_stop_packet_stack; // The stop packet
328 void SetLastStopPacket(const StringExtractorGDBRemote &response);
344 bool HandleNotifyPacket(StringExtractorGDBRemote &packet);
DGDBRemoteCommunicationReplayServer.h29 class StringExtractorGDBRemote; variable
/external/llvm-project/lldb/source/Utility/
DStringExtractorGDBRemote.cpp14 StringExtractorGDBRemote::ResponseType
15 StringExtractorGDBRemote::GetResponseType() const { in GetResponseType()
53 StringExtractorGDBRemote::ServerPacketType
54 StringExtractorGDBRemote::GetServerPacketType() const { in GetServerPacketType()
442 bool StringExtractorGDBRemote::IsOKResponse() const { in IsOKResponse()
446 bool StringExtractorGDBRemote::IsUnsupportedResponse() const { in IsUnsupportedResponse()
450 bool StringExtractorGDBRemote::IsNormalResponse() const { in IsNormalResponse()
454 bool StringExtractorGDBRemote::IsErrorResponse() const { in IsErrorResponse()
459 uint8_t StringExtractorGDBRemote::GetError() { in GetError()
467 lldb_private::Status StringExtractorGDBRemote::GetStatus() { in GetStatus()
[all …]
DCMakeLists.txt62 StringExtractorGDBRemote.cpp
/external/llvm-project/lldb/include/lldb/Utility/
DStringExtractorGDBRemote.h21 class StringExtractorGDBRemote : public StringExtractor {
24 void *baton, const StringExtractorGDBRemote &response);
26 StringExtractorGDBRemote() : StringExtractor(), m_validator(nullptr) {} in StringExtractorGDBRemote() function
28 StringExtractorGDBRemote(llvm::StringRef str) in StringExtractorGDBRemote() function
31 StringExtractorGDBRemote(const char *cstr) in StringExtractorGDBRemote() function
36 void CopyResponseValidator(const StringExtractorGDBRemote &rhs);
/external/llvm-project/lldb/unittests/Process/gdb-remote/
DGDBRemoteClientBaseTest.cpp63 StateType SendCPacket(StringExtractorGDBRemote &response) { in SendCPacket()
78 StringExtractorGDBRemote response; in TEST_F()
103 StringExtractorGDBRemote continue_response, response; in TEST_F()
135 StringExtractorGDBRemote continue_response, async_response, response; in TEST_F()
178 StringExtractorGDBRemote continue_response, response; in TEST_F()
205 StringExtractorGDBRemote continue_response, response; in TEST_F()
235 StringExtractorGDBRemote continue_response, async_response, response; in TEST_F()
275 StringExtractorGDBRemote response; in TEST_F()
307 StringExtractorGDBRemote response; in TEST_F()
322 StringExtractorGDBRemote continue_response, response; in TEST_F()
[all …]
DGDBRemoteCommunicationTest.cpp23 PacketResult ReadPacket(StringExtractorGDBRemote &response) { in ReadPacket()
61 StringExtractorGDBRemote response; in TEST_F()
DGDBRemoteTestUtils.h66 PacketResult GetPacket(StringExtractorGDBRemote &response) { in GetPacket()
DGDBRemoteCommunicationClientTest.cpp36 StringExtractorGDBRemote request; in Handle_QThreadSuffixSupported()
48 StringExtractorGDBRemote request; in HandlePacket()
271 StringExtractorGDBRemote request; in TEST_F()
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DTestClient.cpp186 StringExtractorGDBRemote Extractor(response_string); in SendMessage()
194 StringExtractorGDBRemote response; in SendMessage()
264 StringExtractorGDBRemote R; in Continue()

12