Struct gdb_command::GdbCommand [−][src]
pub struct GdbCommand<'a> { /* fields omitted */ }
Struct contains information about arguments for gdb
to run.
Implementations
impl<'a> GdbCommand<'a>
[src]
impl<'a> GdbCommand<'a>
[src]pub fn new(exec_type: &'a ExecType<'_>) -> GdbCommand<'a>
[src]
pub fn ex(&mut self, cmd: &'a str) -> &'a mut GdbCommand<'_>
[src]
pub fn run(&self) -> Result<Vec<u8>>
[src]
Run gdb with provided commands and return raw stdout.
pub fn bt(&'a mut self) -> Result<Vec<String>>
[src]
Get backtrace from gdb execution as vector of strings.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for GdbCommand<'a>
impl<'a> RefUnwindSafe for GdbCommand<'a>
impl<'a> Send for GdbCommand<'a>
impl<'a> Send for GdbCommand<'a>
impl<'a> Sync for GdbCommand<'a>
impl<'a> Sync for GdbCommand<'a>
impl<'a> Unpin for GdbCommand<'a>
impl<'a> Unpin for GdbCommand<'a>
impl<'a> UnwindSafe for GdbCommand<'a>
impl<'a> UnwindSafe for GdbCommand<'a>