LLDB  mainline
Macros | Functions | Variables
GDBRemoteCommunicationServerCommon.cpp File Reference
#include "GDBRemoteCommunicationServerCommon.h"
#include <cerrno>
#include <chrono>
#include <cstring>
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Host/Config.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/SafeMachO.h"
#include "lldb/Interpreter/OptionArgParser.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Target/Platform.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Utility/GDBRemote.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/StructuredData.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Support/JSON.h"
#include "ProcessGDBRemoteLog.h"
#include "lldb/Utility/StringExtractorGDBRemote.h"
#include "Plugins/Process/gdb-remote/GDBRemoteErrno.def"
Include dependency graph for GDBRemoteCommunicationServerCommon.cpp:

Go to the source code of this file.

Macros

#define HANDLE_ERRNO(name, value)
 

Functions

static GDBErrno system_errno_to_gdb (int err)
 
template<typename T , typename U >
static void fill_clamp (T &dest, U src, typename T::value_type fallback)
 

Variables

const static uint32_t g_default_packet_timeout_sec = 0
 

Macro Definition Documentation

◆ HANDLE_ERRNO

#define HANDLE_ERRNO (   name,
  value 
)
Value:
case name: \
return GDB_##name;

Function Documentation

◆ fill_clamp()

template<typename T , typename U >
static void fill_clamp ( T &  dest,
src,
typename T::value_type  fallback 
)
static

◆ system_errno_to_gdb()

static GDBErrno system_errno_to_gdb ( int  err)
static

Variable Documentation

◆ g_default_packet_timeout_sec

const static uint32_t g_default_packet_timeout_sec = 0
static