pub struct Dr7(pub usize);
Tuple Fields
0: usize
Implementations
Configures a breakpoint condition bc
and size bs
for the associated
breakpoint bp
.
Note
This should be called before enable_bp
.
Enables the breakpoint condition for the associated breakpoint.
Arguments
bp
- The breakpoint to enable.global
- If true, the breakpoint is global (e.g., never reset on task switches). If false, the CPU resets the flag (disables bp) on task switch.
Disables the breakpoint condition for the associated breakpoint.
bp
: The breakpoint to disable.global
: If true, the global breakpoint bit is unset (e.g., never reset on task switches). If false, the local breakpoint bit is unset.
Local exact breakpoint enable.
This flag causes the processor to detect the exact instruction that caused a data breakpoint condition. This feature is not supported in the P6 family processors, later IA-32 processors, and Intel 64 processors.
For backward and forward compatibility with other Intel processors, Intel recommends that the LE flag be set to 1 if exact breakpoints are required.
Global exact breakpoint enable.
This flag causes the processor to detect the exact instruction that caused a data breakpoint condition. This feature is not supported in the P6 family processors, later IA-32 processors, and Intel 64 processors.
For backward and forward compatibility with other Intel processors, Intel recommends that the GE flag be set to 1 if exact breakpoints are required.
Enables advanced debugging of RTM transactional regions.
Note
This advanced debugging is enabled only if IA32_DEBUGCTL.RTM is also set.
Enables debug-register protection, which causes a debug exception to be generated prior to any MOV instruction that accesses a debug register.