pub struct Breakpoint {
pub addr: u64,
pub kind: u64,
pub conditions: Option<Vec<Bytecode>>,
pub commands: Option<Vec<Bytecode>>,
}
Expand description
A descriptor for a breakpoint. The particular implementation technique of the breakpoint, hardware or software, is handled elsewhere.
Fields§
§addr: u64
The address.
kind: u64
The kind of breakpoint. This field is generally 0 and its interpretation is target-specific. A typical use of it is for targets that support multiple execution modes (e.g. ARM/Thumb); different values for this field would identify the kind of code region in which the breakpoint is being inserted.
conditions: Option<Vec<Bytecode>>
An optional list of target-specific bytecodes representing conditions. Each condition should be evaluated by the target when the breakpoint is hit to determine whether the hit should be reported back to the debugger.
commands: Option<Vec<Bytecode>>
An optional list of target-specific bytecodes representing commands. These commands should be evaluated when a breakpoint is hit; any results are not reported back to the debugger.
Trait Implementations§
Source§impl Clone for Breakpoint
impl Clone for Breakpoint
Source§fn clone(&self) -> Breakpoint
fn clone(&self) -> Breakpoint
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more