Invention Grant
- Patent Title: Apparatus and method for controlling debugging of program instructions including a transaction
-
Application No.: US15007578Application Date: 2016-01-27
-
Publication No.: US09858172B2Publication Date: 2018-01-02
- Inventor: Michael John Williams
- 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: GB1502421.9 20150213
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/36

Abstract:
An apparatus and method are provided for controlling debugging of program instructions that include a transaction, where the transaction is executed on processing circuitry and comprises a number of program instructions that execute to generate updates to state data, and where those updates are only committed if the transaction completes without a conflict. In addition to the processing circuitry, the apparatus has control storage for storing at least one watchpoint identifier, and the processing circuitry is then arranged, when detecting a watchpoint match condition with reference to the at least one watchpoint identifier during execution of a program instruction within the transaction, to create a pending watchpoint debug event. The processing circuitry is then responsive to execution of the transaction finishing to initiate a watchpoint debug event for the pending watchpoint debug event. However, if instead the transaction is aborted before it finishes (due to a conflict arising), the processing circuitry is arranged to cancel the pending watchpoint debug event. Such an approach prevents a probe effect arising during execution of a transaction due to debugging activity.
Public/Granted literature
- US20160239403A1 AN APPARATUS AND METHOD FOR CONTROLLING DEBUGGING OF PROGRAM INSTRUCTIONS INCLUDING A TRANSACTION Public/Granted day:2016-08-18
Information query