[][src]Struct gdbstub::GdbStub

pub struct GdbStub<'a, T: Target, C: Connection> { /* fields omitted */ }

Debug a Target across a Connection using the GDB Remote Serial Protocol.

Implementations

impl<'a, T: Target, C: Connection> GdbStub<'a, T, C>[src]

pub fn builder(conn: C) -> GdbStubBuilder<'a, T, C>[src]

Create a GdbStubBuilder using the provided Connection.

pub fn new(conn: C) -> GdbStub<'a, T, C>[src]

Create a new GdbStub using the provided connection.

For fine-grained control over various GdbStub options, use the builder() method instead.

Note: new is only available when the alloc feature is enabled.

pub fn run<'b>(
    &mut self,
    target: &'b mut T
) -> Result<DisconnectReason, Error<T::Error, C::Error>>
[src]

Starts a GDB remote debugging session.

Returns once the GDB client closes the debugging session, or if the target halts.

Auto Trait Implementations

impl<'a, T, C> RefUnwindSafe for GdbStub<'a, T, C> where
    C: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, T, C> Send for GdbStub<'a, T, C> where
    C: Send,
    T: Send

impl<'a, T, C> Sync for GdbStub<'a, T, C> where
    C: Sync,
    T: Sync

impl<'a, T, C> Unpin for GdbStub<'a, T, C> where
    C: Unpin,
    T: Unpin

impl<'a, T, C> !UnwindSafe for GdbStub<'a, T, C>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.