LLDB mainline
lldb_private::AcceleratorConnectionInfo Struct Reference

Information the client needs to connect to an accelerator GDB server. More...

#include <AcceleratorGDBRemotePackets.h>

Public Attributes

std::string connect_url
 Connection URL the client should connect to (as in "process connect <url>").
std::string platform_name
 Name of the platform to select when creating the accelerator target.
std::string triple
 Target triple for the accelerator target.
std::optional< std::string > exe_path
 Path to the executable to use when creating the accelerator target.
bool synchronous = false
 If true, connect synchronously: the client blocks until the accelerator process is connected and stopped before continuing.

Detailed Description

Information the client needs to connect to an accelerator GDB server.

When an AcceleratorActions carries this, the client creates a new target and connects to connect_url.

Definition at line 91 of file AcceleratorGDBRemotePackets.h.

Member Data Documentation

◆ connect_url

std::string lldb_private::AcceleratorConnectionInfo::connect_url

Connection URL the client should connect to (as in "process connect <url>").

Definition at line 94 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), lldb_private::process_gdb_remote::ProcessGDBRemote::HandleAcceleratorConnection(), and lldb_private::toJSON().

◆ exe_path

std::optional<std::string> lldb_private::AcceleratorConnectionInfo::exe_path

Path to the executable to use when creating the accelerator target.

If not set, an empty target is created.

Definition at line 104 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), lldb_private::process_gdb_remote::ProcessGDBRemote::HandleAcceleratorConnection(), and lldb_private::toJSON().

◆ platform_name

std::string lldb_private::AcceleratorConnectionInfo::platform_name

Name of the platform to select when creating the accelerator target.

The platform must be able to handle triple and is used to connect to the accelerator's GDB server.

Definition at line 98 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), lldb_private::process_gdb_remote::ProcessGDBRemote::HandleAcceleratorConnection(), and lldb_private::toJSON().

◆ synchronous

bool lldb_private::AcceleratorConnectionInfo::synchronous = false

If true, connect synchronously: the client blocks until the accelerator process is connected and stopped before continuing.

If false, the connection is made asynchronously.

Definition at line 108 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), lldb_private::process_gdb_remote::ProcessGDBRemote::HandleAcceleratorConnection(), and lldb_private::toJSON().

◆ triple

std::string lldb_private::AcceleratorConnectionInfo::triple

Target triple for the accelerator target.

Used to ensure the architecture is compatible with platform_name.

Definition at line 101 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), lldb_private::process_gdb_remote::ProcessGDBRemote::HandleAcceleratorConnection(), and lldb_private::toJSON().


The documentation for this struct was generated from the following file: