发明名称 DEBUGGING OF PREFIXED CODE
摘要 A debugging capability that enables the efficient debugging of code that has prefixes, referred to herein as prefixed code. To debug application code, in which the application code includes a prefixed instruction to be modified by a prefix, a trap is provided. The trap is configured to report a presence of the prefix, but to otherwise perform the trap functions absent the prefix; i.e., the prefix is otherwise ignored in the processing of the trap.
申请公布号 US2017091065(A1) 申请公布日期 2017.03.30
申请号 US201615195800 申请日期 2016.06.28
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Gschwind Michael K.
分类号 G06F11/36 主分类号 G06F11/36
代理机构 代理人
主权项 1. A computer-implemented method of facilitating debugging of applications, the computer-implemented method comprising: providing, by a processor, a trap to be used in debugging of application code, the application code including a prefixed instruction defined to be modified by a prefix, and the trap to replace the prefixed instruction by placing the trap at a selected location in the application code, wherein the selected location includes over the prefixed instruction, the trap configured to report a presence of the prefix and to ignore the prefix in execution; using the trap to debug the application code; replacing, by the processor, at the selected location, the trap with the prefixed instruction; and based on the replacing, restarting, by the processor, execution of the application code at the prefixed instruction.
地址 Armonk NY US