发明名称 AN APPARATUS AND METHOD FOR CONTROLLING DEBUGGING OF PROGRAM INSTRUCTIONS INCLUDING A TRANSACTION
摘要 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.
申请公布号 US2016239403(A1) 申请公布日期 2016.08.18
申请号 US201615007578 申请日期 2016.01.27
申请人 ARM LIMITED 发明人 WILLIAMS Michael John
分类号 G06F11/36 主分类号 G06F11/36
代理机构 代理人
主权项 1. An apparatus comprising: processing circuitry to execute program instructions including a transaction comprising a number of program instructions that execute to generate updates to state data and to commit said updates if said transaction completes without a conflict; and control storage to store at least one watchpoint identifier; the processing circuitry being arranged, when detecting a watchpoint match condition with reference to the at least one watchpoint identifier during execution of a program instruction within said transaction, to create a pending watchpoint debug event; the processing circuitry being responsive to execution of the transaction finishing to initiate a watchpoint debug event for the pending watchpoint debug event; and the processing circuitry being responsive to a conflict arising during execution of the transaction to cancel the pending watchpoint debug event.
地址 Cambridge GB