Back to results
US 9,870,308 B2Granted
Debugging of prefixed code
AssigneeInternational Business Machines Corporation
InventorMichael K. Gschwind
Life of this patent
Estimating the term…
Abstract
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.
Claims7
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;
- executing, by the processor, the application code, wherein the executing comprises ignoring that the trap is preceded by a prefix instruction and halting the executing at the trap and transferring control to a debug control;
- restarting, by the processor, execution of the application code at the prefixed instruction, wherein the restarting comprises:
- replacing, by the processor, the trap with the prefixed instruction;
- and
- resuming execution of the application code at the prefixed instruction.
3 more elements
Dependencies are inferred from the claim text.