Invention Grant
- Patent Title: Handling debugger breakpoints in a shared instruction system
- Patent Title (中): 在共享指令系统中处理调试器断点
-
Application No.: US12255138Application Date: 2008-10-21
-
Publication No.: US08635603B2Publication Date: 2014-01-21
- Inventor: Thomas Michael Gooding , Richard Michael Shok
- Applicant: Thomas Michael Gooding , Richard Michael Shok
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Martin & Associates, LLC
- Agent Derek P. Martin
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F11/00

Abstract:
A debugger debugs processes that execute shared instructions so a breakpoint set for one process will not cause a breakpoint to occur in the other processes. A breakpoint is set by recording the original instruction at the desired location and writing a trap instruction to the shared instructions at that location. When a process encounters the breakpoint, the process passes control to the debugger for breakpoint processing if the breakpoint was set at that location for that process. If the trap was not set at that location for that process, the cacheline containing the trap is copied to a small scratchpad memory, and the virtual memory mappings are changed to translate the virtual address of the cacheline to the scratchpad. The original instruction is then written to replace the trap instruction in the scratchpad, so the process can execute the instructions in the scratchpad thereby avoiding the trap instruction.
Public/Granted literature
- US20100100715A1 HANDLING DEBUGGER BREAKPOINTS IN A SHARED INSTRUCTION SYSTEM Public/Granted day:2010-04-22
Information query