Debugging of prefixed code

US9870305B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9870305-B2
Application numberUS-201514871985-A
CountryUS
Kind codeB2
Filing dateSep 30, 2015
Priority dateSep 30, 2015
Publication dateJan 16, 2018
Grant dateJan 16, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

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.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer program product for facilitating debugging of applications, the computer program product comprising: a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a 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. 2. The computer program product of claim 1 , wherein the prefix is provided via a prefix instruction placed in the application code prior to the prefixed instruction. 3. The computer program product of claim 2 , wherein the prefix instruction and the prefixed instruction are individual instructions initially provided separately to decode units to be decoded. 4. The computer program product of claim 1 , wherein executing the application code the further comprises: reporting the presence of the prefix. 5. The computer program product of claim 4 , wherein the reporting the presence of the prefix includes reporting at least one of an address of the prefix instruction or an indication of the prefix instruction. 6. The computer program product of claim 5 , wherein the reporting further comprises reporting a length of the prefix. 7. The computer program product of claim 2 , wherein the method further comprises using another trap to debug the application code, the other trap to be placed at a chosen location within the application code, the chosen location being one of over the prefix instruction or over another prefixed instruction. 8. A computer system for facilitating debugging of applications, the computer system comprising: a memory; and a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising: providing, by the 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; resuming execution of the application code at the prefixed instruction. 9. The computer system of claim 8 , wherein the prefix is provided via a prefix instruction placed in the application code prior to the prefixed instruction. 10. The computer system of claim 8 wherein executing the application code further comprises: reporting the presence of the prefix. 11. The computer system of claim 10 , wherein the reporting the presence of the prefix includes reporting at least one of an address of the prefix instruction or an indication of the prefix instruction.

Assignees

Inventors

Classifications

  • Indexed addressing · CPC title

  • according to one or more bits in the instruction, e.g. prefix, sub-opcode · CPC title

  • LOAD or STORE instructions; Clear instruction · CPC title

  • G06F11/362Primary

    Debugging of software · CPC title

  • Runtime instruction translation, e.g. macros · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9870305B2 cover?
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 pref…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/362. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 16 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).