发明名称 Handling debugger breakpoints in a shared instruction system
摘要 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.
申请公布号 US8635603(B2) 申请公布日期 2014.01.21
申请号 US20080255138 申请日期 2008.10.21
申请人 GOODING THOMAS MICHAEL;SHOK RICHARD MICHAEL;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 GOODING THOMAS MICHAEL;SHOK RICHARD MICHAEL
分类号 G06F9/44;G06F11/00 主分类号 G06F9/44
代理机构 代理人
主权项
地址