LLDB  mainline
Enumerations | Functions
GDBRemoteCommunicationServerLLGS.cpp File Reference
#include <errno.h>
#include "lldb/Host/Config.h"
#include "GDBRemoteCommunicationServerLLGS.h"
#include "lldb/Utility/StreamGDBRemote.h"
#include <chrono>
#include <cstring>
#include <thread>
#include "lldb/Host/ConnectionFileDescriptor.h"
#include "lldb/Host/Debug.h"
#include "lldb/Host/File.h"
#include "lldb/Host/FileAction.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/PosixApi.h"
#include "lldb/Host/common/NativeProcessProtocol.h"
#include "lldb/Host/common/NativeRegisterContext.h"
#include "lldb/Host/common/NativeThreadProtocol.h"
#include "lldb/Target/MemoryRegionInfo.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/DataBuffer.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Utility/JSON.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/State.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/UriParser.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Support/ScopedPrinter.h"
#include "ProcessGDBRemote.h"
#include "ProcessGDBRemoteLog.h"
#include "lldb/Utility/StringExtractorGDBRemote.h"
Include dependency graph for GDBRemoteCommunicationServerLLGS.cpp:

Go to the source code of this file.

Enumerations

enum  GDBRemoteServerError
 

Functions

static void AppendHexValue (StreamString &response, const uint8_t *buf, uint32_t buf_size, bool swap)
 
static void WriteRegisterValueInHexFixedWidth (StreamString &response, NativeRegisterContext &reg_ctx, const RegisterInfo &reg_info, const RegisterValue *reg_value_p, lldb::ByteOrder byte_order)
 
static JSONObject::SP GetRegistersAsJSON (NativeThreadProtocol &thread)
 
static const char * GetStopReasonString (StopReason stop_reason)
 
static JSONArray::SP GetJSONThreadsInfo (NativeProcessProtocol &process, bool abridged)
 

Enumeration Type Documentation

◆ GDBRemoteServerError

Definition at line 57 of file GDBRemoteCommunicationServerLLGS.cpp.

Function Documentation

◆ AppendHexValue()

static void AppendHexValue ( StreamString response,
const uint8_t *  buf,
uint32_t  buf_size,
bool  swap 
)
static

◆ GetJSONThreadsInfo()

static JSONArray::SP GetJSONThreadsInfo ( NativeProcessProtocol process,
bool  abridged 
)
static

◆ GetRegistersAsJSON()

static JSONObject::SP GetRegistersAsJSON ( NativeThreadProtocol thread)
static

◆ GetStopReasonString()

static const char* GetStopReasonString ( StopReason  stop_reason)
static

◆ WriteRegisterValueInHexFixedWidth()

static void WriteRegisterValueInHexFixedWidth ( StreamString response,
NativeRegisterContext reg_ctx,
const RegisterInfo &  reg_info,
const RegisterValue reg_value_p,
lldb::ByteOrder  byte_order 
)
static