Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Handling debugger breakpoints in a shared instruction system

Patent ·
OSTI ID:1117839
A debugger debugs processes that execute shared instructions so that 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 that process can execute the instructions in the scatchpad thereby avoiding the trap instruction.
Research Organization:
International Business Machines Corporation, Armonk, NY, USA
Sponsoring Organization:
USDOE
Assignee:
International Business Machines Corporation (Armonk, NY)
Patent Number(s):
8,635,603
Application Number:
12/255,138
OSTI ID:
1117839
Country of Publication:
United States
Language:
English

References (1)

Scratchpad memory: design alternative for cache on-chip memory in embedded systems conference January 2002

Similar Records

Source mapping for a source debugger
Conference · 1996 · OSTI ID:471984

Development of a debugger for a concurrent language
Journal Article · 1986 · IEEE Trans. Software Eng.; (United States) · OSTI ID:5676199

AdaTAD: a debugger for the Ada multi-task environment
Thesis/Dissertation · 1984 · OSTI ID:5378479

Related Subjects