#include "lldb/Utility/StringExtractorGDBRemote.h"
#include <cctype>
#include <cstring>
#include <optional>
constexpr lldb::pid_t StringExtractorGDBRemote::AllProcesses;
constexpr lldb::tid_t StringExtractorGDBRemote::AllThreads;
StringExtractorGDBRemote::ResponseType
StringExtractorGDBRemote::GetResponseType() const { … }
StringExtractorGDBRemote::ServerPacketType
StringExtractorGDBRemote::GetServerPacketType() const { … }
bool StringExtractorGDBRemote::IsOKResponse() const { … }
bool StringExtractorGDBRemote::IsUnsupportedResponse() const { … }
bool StringExtractorGDBRemote::IsNormalResponse() const { … }
bool StringExtractorGDBRemote::IsErrorResponse() const { … }
uint8_t StringExtractorGDBRemote::GetError() { … }
lldb_private::Status StringExtractorGDBRemote::GetStatus() { … }
size_t StringExtractorGDBRemote::GetEscapedBinaryData(std::string &str) { … }
static bool
OKErrorNotSupportedResponseValidator(void *,
const StringExtractorGDBRemote &response) { … }
static bool JSONResponseValidator(void *,
const StringExtractorGDBRemote &response) { … }
static bool
ASCIIHexBytesResponseValidator(void *,
const StringExtractorGDBRemote &response) { … }
void StringExtractorGDBRemote::CopyResponseValidator(
const StringExtractorGDBRemote &rhs) { … }
void StringExtractorGDBRemote::SetResponseValidator(
ResponseValidatorCallback callback, void *baton) { … }
void StringExtractorGDBRemote::SetResponseValidatorToOKErrorNotSupported() { … }
void StringExtractorGDBRemote::SetResponseValidatorToASCIIHexBytes() { … }
void StringExtractorGDBRemote::SetResponseValidatorToJSON() { … }
bool StringExtractorGDBRemote::ValidateResponse() const { … }
std::optional<std::pair<lldb::pid_t, lldb::tid_t>>
StringExtractorGDBRemote::GetPidTid(lldb::pid_t default_pid) { … }