pub struct GdbCommand<'a> { /* fields omitted */ }
Expand description
Struct contains information about arguments for gdb
to run.
Construct GdbCommand
from given ExecType.
type
- execution type to run gdb.
Add new gdb command to execute.
cmd
- gdb command parameter (-ex).
Run gdb with provided commands and return raw stdout.
Add command to get backtrace (-ex bt)
Add command to get disassembly (-ex ‘x/16i $pc’)
Add command to get registers (-ex ‘i r’)
Add command to get mappings (-ex ‘info proc mappings’)
Add command to get cmd line.
Add command to get environment variables
Add command to get process status
Execute gdb and get result for each command.
The return value is a vector of strings for each command executed.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.