Diagnosing code using single step execution
Abstract
A method and apparatus for controlling a processor to execute in a single step mode such that a single instruction from the instruction stream is executed, the processor determines if the single instruction is one of at least one predetermined type of instruction and stores a type indicator in a data storage location and a diagnostic exception is taken after the processor has processed the single instruction. Additionally, a diagnostic operation is performed including accessing the type indicator stored in the data storage location and, when the single instruction was not one of the predetermined type, controlling the processor to continue executing instructions in the single step mode, and, when the single instruction was one of the at least one predetermined type, controlling the processor to exit the single step mode and not execute the next instruction within the instruction stream as a single instruction followed by an exception.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for diagnosing a processor processing a stream of instructions comprising: (i) controlling said processor to execute in a single step mode such that a single instruction from said instruction stream is executed, said processor determines if said single instruction is one of at least one predetermined type of instruction and stores a type indicator in a data storage location and a diagnostic exception is taken after said processor has processed said single instruction; (ii) performing diagnostic operations following said diagnostic exception including: accessing said type indicator sto
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (29)
Non-Patent Literature (5)
- B. Glamm et al, "Automatic Verification of Instruction Set Simulation Using Synchronized State Comparison" IEEE, Simulation Symposium, Apr. 2001, pp. 72-77.
- European Office Action issued May 13, 2015 in EP 12 704 111.9, 5 pages.
- First Office Action received in corresponding Chinese Appin. No. 201280013329.0 with Search Report and translation issued Jul. 9, 2015.
- International Preliminary Report on Patentability mailed Sep. 26, 2013 in PCT/GB2012/050232, 7 pages.
- International Search Report and Written Opinion of the International Searching Authority dated May 3, 2012 in PCT/GB2012/050232, 12 pages.