Invention Grant
- Patent Title: Diagnosing code using single step execution
- Patent Title (中): 使用单步执行诊断代码
-
Application No.: US14448038Application Date: 2014-07-31
-
Publication No.: US09201749B2Publication Date: 2015-12-01
- Inventor: Michael John Williams , Richard Roy Grisenthwaite
- Applicant: ARM Limited
- Applicant Address: GB Cambridge
- Assignee: ARM LIMITED
- Current Assignee: ARM LIMITED
- Current Assignee Address: GB Cambridge
- Agency: Nixon & Vanderhye, P.C.
- Priority: GB1104254.6 20110314
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/22 ; G06F11/36

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.
Public/Granted literature
- US20140344621A1 DIAGNOSING CODE USING SINGLE STEP EXECUTION Public/Granted day:2014-11-20
Information query