Instruction execution device, debugging method, debugging device, and debugging program
Abstract
In executing debugging of an executable program in which a breakpoint is set at a conditional instruction using a software break technique, judgment of whether or not to stop the debugging is made, without use of a debugging device, in accordance with whether an execution condition expression of the conditional instruction is true or false. A processor capable of decoding and executing a program that includes conditional instructions executes debugging of the program. When a decoded instruction is a conditional break instruction (S 201 : YES, S 202 : YES), the processor identifies the type of the execution condition of the conditional break instruction (step S 203 ), and refers to a status register to check a status flag of the execution condition (S 204 ). If the execution condition is satisfied (S 205 : YES), the processor executes interrupt processing to suspend debugging (S 206 ), and if the execution condition is not satisfied (S 205 : NO), the processor continues debugging.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 8.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
An instruction execution device that executes instructions stored in a storage device, comprising: a storage unit operable to store a value that is an instruction execution result; an execution unit operable to execute a debug instruction that interrupts instruction execution; an identification unit operable to identify, from a bit sequence that constitutes the debug instruction, a conditional expression that uses, as an operand, the value stored in the storage unit; and a judgment unit operable to judge whether or not the identified conditional expression is true or false, by referring to the
- Claim 2Depends on #1
The instruction execution device of claim 1 , wherein the debug instruction is shorter in length t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗