pub struct GdbInstanceConfiguration {
    pub core_type: CoreType,
    pub cores: Vec<usize>,
    pub socket_addrs: Vec<SocketAddr>,
}
Expand description

Configuration for a single GDB endpoint

Fields

core_type: CoreType

The core type that will be sent to GDB

cores: Vec<usize>

The list of cores to expose. Each ID corresponds to the value passed to Session::core().

socket_addrs: Vec<SocketAddr>

The list of SocketAddr addresses to bind to

Implementations

Build a GDB configuration from a session object. All cores are included.

Arguments
  • session - the Session object to load target information from
  • connection_string - The optional connection string to use.
    If not specified localhost:1337 is used. Multiple instances are bound by adding an offset to the supplied port.
Returns

Vec with the computed configuration

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.