- 专利标题: Computer system with watchpoint support
-
申请号: US10121898申请日: 2002-04-11
-
公开(公告)号: US07047520B2公开(公告)日: 2006-05-16
- 发明人: Richard John Moore , Suparna Bhattacharya
- 申请人: Richard John Moore , Suparna Bhattacharya
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Stephen J. Walder, Jr.; Jeffrey S. LaBaw
- 优先权: GB0125628.8 20011025
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
A method is provided that allows a general set of watchpoints to be defined for a computer system (a watchpoint is a memory address that triggers an interrupt for debugging or tracing purposes). This is accomplished by modifying the system page table for the memory page containing a watchpoint, such that a page fault interrupt is triggered whenever said memory page is accessed (for example by marking the page as not present). The paging mechanism of the computer system is then adapted, so that responsive to a page fault interrupt, a determination is made as to whether such interrupt has resulted from an access to the watchpoint, and if so, control is passed to a watchpoint handler. Alternatively, if there is no watchpoint, normal paging operations can be resumed if necessary.
公开/授权文献
- US20030084375A1 Computer system with watchpoint support 公开/授权日:2003-05-01
信息查询