Invention Grant
- Patent Title: Apparatus and method for executing debug instructions
-
Application No.: US16578754Application Date: 2019-09-23
-
Publication No.: US11152076B2Publication Date: 2021-10-19
- Inventor: Simon John Craske
- Applicant: Arm Limited
- Applicant Address: GB Cambridge
- Assignee: Arm Limited
- Current Assignee: Arm Limited
- Current Assignee Address: GB Cambridge
- Agency: Nixon & Vanderhye P.C.
- Main IPC: G11C29/00
- IPC: G11C29/00 ; G11C29/38 ; G06F9/30

Abstract:
An apparatus and method are provided for executing debug instructions. The apparatus has processing circuitry for executing instructions fetched from memory, and a debug interface. The processing circuitry is responsive to a halt event to enter a halted mode where the processing circuitry stops executing the instructions fetched from memory, and instead is arranged to execute debug instructions received from a debugger via the debug interface. The processing circuitry is responsive to detection of a trigger condition when executing a given debug instruction to exit the halted mode transparently to the debugger, and to take an exception in order to execute exception handler code comprising a sequence of instructions fetched from memory. On return from the exception, the processing circuitry then re-enters the halted mode and performs any additional processing required to complete execution of the given debug instruction. This provides a mechanism for allowing an apparatus to perform operations required by debug instructions in situations where the processing circuitry hardware is not able to natively perform those operations in response to the specified debug instruction.
Public/Granted literature
- US20210090677A1 APPARATUS AND METHOD FOR EXECUTING DEBUG INSTRUCTIONS Public/Granted day:2021-03-25
Information query