LLDB mainline
|
#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 |
|
static |
Definition at line 59 of file PlatformAndroidRemoteGDBServer.cpp.
References lldb_private::platform_android::AdbClient::DeletePortForwarding().
Referenced by lldb_private::platform_android::PlatformAndroidRemoteGDBServer::DeleteForwardPort(), and lldb_private::platform_android::PlatformAndroidRemoteGDBServer::~PlatformAndroidRemoteGDBServer().
|
static |
Definition at line 65 of file PlatformAndroidRemoteGDBServer.cpp.
References error().
Referenced by lldb_private::platform_android::PlatformAndroidRemoteGDBServer::MakeConnectURL().
|
static |
Definition at line 28 of file PlatformAndroidRemoteGDBServer.cpp.
References lldb_private::platform_android::AdbClient::CreateByDeviceID(), error(), lldb_private::Status::FromErrorString(), lldb_private::platform_android::AdbClient::GetDeviceID(), lldb_private::GetLog(), LLDB_LOGF, and lldb_private::platform_android::AdbClient::SetPortForwarding().
Referenced by lldb_private::platform_android::PlatformAndroidRemoteGDBServer::MakeConnectURL().
|
static |
Definition at line 25 of file PlatformAndroidRemoteGDBServer.cpp.
Referenced by lldb_private::platform_android::PlatformAndroidRemoteGDBServer::ConnectRemote(), and lldb_private::platform_android::PlatformAndroidRemoteGDBServer::DisconnectRemote().