[−][src]Struct gdbstub::GdbStub
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]
&mut self,
target: &'b mut T
) -> Result<DisconnectReason, Error<T::Error, C::Error>>
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,
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, C> Send for GdbStub<'a, T, C> where
C: Send,
T: Send,
C: Send,
T: Send,
impl<'a, T, C> Sync for GdbStub<'a, T, C> where
C: Sync,
T: Sync,
C: Sync,
T: Sync,
impl<'a, T, C> Unpin for GdbStub<'a, T, C> where
C: Unpin,
T: Unpin,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,