Lines Matching defs:GDBRemoteCommunicationClient
1 //===-- GDBRemoteCommunicationClient.cpp ----------------------------------===//
9 #include "GDBRemoteCommunicationClient.h"
59 // GDBRemoteCommunicationClient constructor
60 GDBRemoteCommunicationClient::GDBRemoteCommunicationClient()
80 GDBRemoteCommunicationClient::~GDBRemoteCommunicationClient() {
85 bool GDBRemoteCommunicationClient::HandshakeWithServer(Status *error_ptr) {
124 bool GDBRemoteCommunicationClient::GetEchoSupported() {
131 bool GDBRemoteCommunicationClient::GetQPassSignalsSupported() {
138 bool GDBRemoteCommunicationClient::GetAugmentedLibrariesSVR4ReadSupported() {
145 bool GDBRemoteCommunicationClient::GetQXferLibrariesSVR4ReadSupported() {
152 bool GDBRemoteCommunicationClient::GetQXferLibrariesReadSupported() {
159 bool GDBRemoteCommunicationClient::GetQXferAuxvReadSupported() {
166 bool GDBRemoteCommunicationClient::GetQXferFeaturesReadSupported() {
173 bool GDBRemoteCommunicationClient::GetQXferMemoryMapReadSupported() {
180 bool GDBRemoteCommunicationClient::GetQXferSigInfoReadSupported() {
187 bool GDBRemoteCommunicationClient::GetMultiprocessSupported() {
193 uint64_t GDBRemoteCommunicationClient::GetRemoteMaxPacketSize() {
200 bool GDBRemoteCommunicationClient::QueryNoAckModeSupported() {
224 void GDBRemoteCommunicationClient::GetListThreadsInStopReplySupported() {
237 bool GDBRemoteCommunicationClient::GetVAttachOrWaitSupported() {
251 bool GDBRemoteCommunicationClient::GetSyncThreadStateSupported() {
265 void GDBRemoteCommunicationClient::ResetDiscoverableSettings(bool did_exec) {
334 void GDBRemoteCommunicationClient::GetRemoteQSupported() {
433 bool GDBRemoteCommunicationClient::GetThreadSuffixSupported() {
445 bool GDBRemoteCommunicationClient::GetVContSupported(char flavor) {
505 GDBRemoteCommunicationClient::SendThreadSpecificPacketAndWaitForResponse(
512 "GDBRemoteCommunicationClient::%s: Didn't get sequence mutex "
532 bool GDBRemoteCommunicationClient::GetpPacketSupported(lldb::tid_t tid) {
538 LazyBool GDBRemoteCommunicationClient::GetThreadPacketSupported(
551 bool GDBRemoteCommunicationClient::GetSaveCoreSupported() const {
555 StructuredData::ObjectSP GDBRemoteCommunicationClient::GetThreadsInfo() {
574 bool GDBRemoteCommunicationClient::GetThreadExtendedInfoSupported() {
588 void GDBRemoteCommunicationClient::EnableErrorStringInPacket() {
603 bool GDBRemoteCommunicationClient::GetLoadedDynamicLibrariesInfosSupported() {
617 bool GDBRemoteCommunicationClient::GetSharedCacheInfoSupported() {
631 bool GDBRemoteCommunicationClient::GetDynamicLoaderProcessStateSupported() {
644 bool GDBRemoteCommunicationClient::GetMemoryTaggingSupported() {
651 DataBufferSP GDBRemoteCommunicationClient::ReadMemoryTags(lldb::addr_t addr,
663 LLDB_LOGF(log, "GDBRemoteCommunicationClient::%s: qMemTags packet failed",
673 "GDBRemoteCommunicationClient::%s: qMemTags response did not "
687 "GDBRemoteCommunicationClient::%s: Invalid data in qMemTags response",
695 Status GDBRemoteCommunicationClient::WriteMemoryTags(
713 bool GDBRemoteCommunicationClient::GetxPacketSupported() {
728 lldb::pid_t GDBRemoteCommunicationClient::GetCurrentProcessID(bool allow_lazy) {
777 llvm::Error GDBRemoteCommunicationClient::LaunchProcess(const Args &args) {
842 int GDBRemoteCommunicationClient::SendEnvironment(const Environment &env) {
855 int GDBRemoteCommunicationClient::SendEnvironmentPacket(
922 int GDBRemoteCommunicationClient::SendLaunchArchPacket(char const *arch) {
939 int GDBRemoteCommunicationClient::SendLaunchEventDataPacket(
967 llvm::VersionTuple GDBRemoteCommunicationClient::GetOSVersion() {
972 llvm::VersionTuple GDBRemoteCommunicationClient::GetMacCatalystVersion() {
977 std::optional<std::string> GDBRemoteCommunicationClient::GetOSBuildString() {
986 GDBRemoteCommunicationClient::GetOSKernelDescription() {
994 bool GDBRemoteCommunicationClient::GetHostname(std::string &s) {
1005 ArchSpec GDBRemoteCommunicationClient::GetSystemArchitecture() {
1012 GDBRemoteCommunicationClient::GetProcessArchitecture() {
1018 bool GDBRemoteCommunicationClient::GetProcessStandaloneBinary(
1036 GDBRemoteCommunicationClient::GetProcessStandaloneBinaries() {
1042 bool GDBRemoteCommunicationClient::GetGDBServerVersion() {
1073 void GDBRemoteCommunicationClient::MaybeEnableCompression(
1150 const char *GDBRemoteCommunicationClient::GetGDBServerProgramName() {
1158 uint32_t GDBRemoteCommunicationClient::GetGDBServerProgramVersion() {
1164 bool GDBRemoteCommunicationClient::GetDefaultThreadId(lldb::tid_t &tid) {
1208 bool GDBRemoteCommunicationClient::GetHostInfo(bool force) {
1396 "GDBRemoteCommunicationClient::%s parsed host "
1411 int GDBRemoteCommunicationClient::SendStdinNotification(const char *data,
1425 GDBRemoteCommunicationClient::GetHostArchitecture() {
1431 AddressableBits GDBRemoteCommunicationClient::GetAddressableBits() {
1444 seconds GDBRemoteCommunicationClient::GetHostDefaultPacketTimeout() {
1450 addr_t GDBRemoteCommunicationClient::AllocateMemory(size_t size,
1476 bool GDBRemoteCommunicationClient::DeallocateMemory(addr_t addr) {
1498 Status GDBRemoteCommunicationClient::Detach(bool keep_stopped,
1549 Status GDBRemoteCommunicationClient::GetMemoryRegionInfo(
1713 Status GDBRemoteCommunicationClient::GetQXferMemoryMapRegionInfo(
1728 Status GDBRemoteCommunicationClient::LoadQXferMemoryMap() {
1813 std::optional<uint32_t> GDBRemoteCommunicationClient::GetWatchpointSlotCount() {
1844 GDBRemoteCommunicationClient::GetSupportedWatchpointTypes() {
1848 std::optional<bool> GDBRemoteCommunicationClient::GetWatchpointReportedAfter() {
1865 int GDBRemoteCommunicationClient::SetSTDIN(const FileSpec &file_spec) {
1885 int GDBRemoteCommunicationClient::SetSTDOUT(const FileSpec &file_spec) {
1905 int GDBRemoteCommunicationClient::SetSTDERR(const FileSpec &file_spec) {
1925 bool GDBRemoteCommunicationClient::GetWorkingDir(FileSpec &working_dir) {
1941 int GDBRemoteCommunicationClient::SetWorkingDir(const FileSpec &working_dir) {
1961 int GDBRemoteCommunicationClient::SetDisableASLR(bool enable) {
1978 int GDBRemoteCommunicationClient::SetDetachOnError(bool enable) {
1995 bool GDBRemoteCommunicationClient::DecodeProcessInfoResponse(
2092 bool GDBRemoteCommunicationClient::GetProcessInfo(
2114 bool GDBRemoteCommunicationClient::GetCurrentProcessInfo(bool allow_lazy) {
2285 uint32_t GDBRemoteCommunicationClient::FindProcesses(
2380 bool GDBRemoteCommunicationClient::GetUserName(uint32_t uid,
2407 bool GDBRemoteCommunicationClient::GetGroupName(uint32_t gid,
2467 void GDBRemoteCommunicationClient::TestPacketSpeed(const uint32_t num_packets,
2594 bool GDBRemoteCommunicationClient::SendSpeedTestPacket(uint32_t send_size,
2615 bool GDBRemoteCommunicationClient::LaunchGDBServer(
2663 size_t GDBRemoteCommunicationClient::QueryGDBServer(
2704 bool GDBRemoteCommunicationClient::KillSpawnedProcess(lldb::pid_t pid) {
2717 std::optional<PidTid> GDBRemoteCommunicationClient::SendSetCurrentThreadPacket(
2750 bool GDBRemoteCommunicationClient::SetCurrentThread(uint64_t tid,
2765 bool GDBRemoteCommunicationClient::SetCurrentThreadForRun(uint64_t tid,
2780 bool GDBRemoteCommunicationClient::GetStopReply(
2787 bool GDBRemoteCommunicationClient::GetThreadStopInfo(
2810 uint8_t GDBRemoteCommunicationClient::SendGDBStoppointTypePacket(
2814 LLDB_LOGF(log, "GDBRemoteCommunicationClient::%s() %s at addr = 0x%" PRIx64,
2872 GDBRemoteCommunicationClient::GetCurrentProcessAndThreadIDs(
2928 size_t GDBRemoteCommunicationClient::GetCurrentThreadIDs(
2949 lldb::addr_t GDBRemoteCommunicationClient::GetShlibInfoAddr() {
2958 lldb_private::Status GDBRemoteCommunicationClient::RunShellCommand(
3011 Status GDBRemoteCommunicationClient::MakeDirectory(const FileSpec &file_spec,
3032 GDBRemoteCommunicationClient::SetFilePermissions(const FileSpec &file_spec,
3082 GDBRemoteCommunicationClient::OpenFile(const lldb_private::FileSpec &file_spec,
3103 bool GDBRemoteCommunicationClient::CloseFile(lldb::user_id_t fd,
3116 GDBRemoteCommunicationClient::FStat(lldb::user_id_t fd) {
3140 GDBRemoteCommunicationClient::Stat(const lldb_private::FileSpec &file_spec) {
3151 lldb::user_id_t GDBRemoteCommunicationClient::GetFileSize(
3177 void GDBRemoteCommunicationClient::AutoCompleteDiskFileOrDirectory(
3203 GDBRemoteCommunicationClient::GetFilePermissions(const FileSpec &file_spec,
3251 uint64_t GDBRemoteCommunicationClient::ReadFile(lldb::user_id_t fd,
3291 uint64_t GDBRemoteCommunicationClient::WriteFile(lldb::user_id_t fd,
3323 Status GDBRemoteCommunicationClient::CreateSymlink(const FileSpec &src,
3357 Status GDBRemoteCommunicationClient::Unlink(const FileSpec &file_spec) {
3389 bool GDBRemoteCommunicationClient::GetFileExists(
3420 llvm::ErrorOr<llvm::MD5::MD5Result> GDBRemoteCommunicationClient::CalculateMD5(
3486 bool GDBRemoteCommunicationClient::AvoidGPackets(ProcessGDBRemote *process) {
3512 DataBufferSP GDBRemoteCommunicationClient::ReadRegister(lldb::tid_t tid,
3528 DataBufferSP GDBRemoteCommunicationClient::ReadAllRegisters(lldb::tid_t tid) {
3543 bool GDBRemoteCommunicationClient::WriteRegister(lldb::tid_t tid,
3557 bool GDBRemoteCommunicationClient::WriteAllRegisters(
3570 bool GDBRemoteCommunicationClient::SaveRegisterState(lldb::tid_t tid,
3595 bool GDBRemoteCommunicationClient::RestoreRegisterState(lldb::tid_t tid,
3618 bool GDBRemoteCommunicationClient::SyncThreadState(lldb::tid_t tid) {
3631 GDBRemoteCommunicationClient::SendTraceSupported(std::chrono::seconds timeout) {
3656 GDBRemoteCommunicationClient::SendTraceStop(const TraceStopRequest &request,
3691 GDBRemoteCommunicationClient::SendTraceStart(const llvm::json::Value ¶ms,
3726 GDBRemoteCommunicationClient::SendTraceGetState(llvm::StringRef type,
3760 GDBRemoteCommunicationClient::SendTraceGetBinaryData(
3791 std::optional<QOffsets> GDBRemoteCommunicationClient::GetQOffsets() {
3831 bool GDBRemoteCommunicationClient::GetModuleInfo(
3931 GDBRemoteCommunicationClient::GetModulesInfo(
3990 GDBRemoteCommunicationClient::ReadExtFeature(llvm::StringRef object,
4084 void GDBRemoteCommunicationClient::ServeSymbolLookups(
4199 "GDBRemoteCommunicationClient::%s: Didn't get sequence mutex.",
4206 GDBRemoteCommunicationClient::GetSupportedStructuredDataPlugins() {
4224 "GDBRemoteCommunicationClient::%s(): "
4232 "GDBRemoteCommunicationClient::%s(): "
4241 "GDBRemoteCommunicationClient::%s(): supported async "
4252 Status GDBRemoteCommunicationClient::SendSignalsToIgnore(
4272 Status GDBRemoteCommunicationClient::ConfigureRemoteStructuredData(
4321 void GDBRemoteCommunicationClient::OnRunPacketSent(bool first) {
4326 bool GDBRemoteCommunicationClient::UsesNativeSignals() {
4337 llvm::Expected<int> GDBRemoteCommunicationClient::KillProcess(lldb::pid_t pid) {