Address watch breakpoints in a hardware synchronization range
Abstract
A method, apparatus, system, and signal-bearing medium that in an embodiment determine whether an instruction at which an address watch breakpoint occurs is within a hardware synchronization mechanism range in a program. If the determination is true, a special breakpoint is set following the hardware synchronization mechanism range, the address watch breakpoint is temporarily disabled, and the machine state is saved. When the program encounters the special breakpoint following the end of the hardware synchronization mechanism range, the saved machine state is presented. In this way, endless looping in programs protected by hardware synchronization mechanisms may be prevented.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 8.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: determining whether an instruction at which an address watch breakpoint occurs is within a hardware synchronization mechanism range in a program; and if the determining is true, setting a special breakpoint following the hardware synchronization mechanism range; temporarily disabling the address watch breakpoint if the determining is true; saving a machine state if the determining is true; and determining whether a processor storage reservation indicator is set after encountering an end of the hardware synchronization mechanism range.
- Claim 2Depends on #1
The method of claim 1 , further comprising: detecting whether the processor storage reservation indicator has been cleared during processing of the address watch breakpoint.
- Claim 3Depends on #1
The method of claim 1 , further comprising: presenting the machine state after the special breakpo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗