LLDB mainline
PlatformAndroidRemoteGDBServer.cpp File Reference
#include "lldb/Host/ConnectionFileDescriptor.h"
#include "lldb/Host/common/TCPSocket.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/UriParser.h"
#include "PlatformAndroidRemoteGDBServer.h"
#include <optional>
#include <sstream>

Go to the source code of this file.

Functions

static Status ForwardPortWithAdb (const uint16_t local_port, const uint16_t remote_port, llvm::StringRef remote_socket_name, const std::optional< AdbClient::UnixSocketNamespace > &socket_namespace, std::string &device_id)
static Status DeleteForwardPortWithAdb (uint16_t local_port, const std::string &device_id)
static Status FindUnusedPort (uint16_t &port)

Variables

static const lldb::pid_t g_remote_platform_pid

Function Documentation

◆ DeleteForwardPortWithAdb()

◆ FindUnusedPort()

Status FindUnusedPort ( uint16_t & port)
static

◆ ForwardPortWithAdb()

Variable Documentation

◆ g_remote_platform_pid