Processor system with cache-based software breakpoints
Abstract
Techniques are disclosed for implementing software breakpoints in a processor system having at least one processor coupled to a main memory and associated with an instruction cache. A breakpoint code is inserted at a particular location in the instruction cache of at least a given one of the processors, and a control indicator associated with the particular location is set to a first state which allows the breakpoint code to be returned to the given processor from the instruction cache in response to a first fetch request directed to a corresponding address. Subsequently, the control indicator associated with the particular location is set to a second state which directs that a second fetch request to the corresponding address be serviced from the main memory. The control indicator state is then changed again after a determination has been made, from the control indicator having been set to the second state, that the second fetch request to the corresponding address will be serviced from the main memory.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 18.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of implementing a software breakpoint in a processor system having at least one processor coupled to a main memory, and an instruction cache associated with the processor, a breakpoint code being insertable at a particular location in the instruction cache, the method comprising the steps of: setting a control indicator associated with the particular location to a first state which allows the breakpoint code to be returned to the processor from the instruction cache in response to a first fetch request directed to a corresponding address of the particular location; subsequently settin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 18 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (2)
- Stewart et al., "Non-Stop Monitoring and Debugging on Shared-Memory Multiprocessors," 1997.
- U.S. Appl. No. 10/072,529, filed Feb. 8, 2002, M.R. Betker et al., "Multiprocessor System with Cache-Based Software Breakpoints."