Patent · US Expired

Method for emulating multiple debug breakpoints by page partitioning using a single breakpoint register

US5664159A · kind A · utility

72Cited by
9References
18Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMay 8, 1995
Grant dateSep 2, 1997
Priority date
Expiry dateMay 8, 2015

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F12/1036
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A single breakpoint address register on a CPU is shared to emulate a plurality of breakpoint registers. A plurality of breakpoints are stored in an emulation area of main memory. One of these breakpoints is loaded into the single breakpoint register on the CPU. When a translation-lookaside buffer (TLB) on the CPU detects a page miss, a page miss handler activates a debug processing routine to determine if the faulting page contains one of the breakpoints. If the faulting page does contain a breakpoint, then this breakpoint is written to the single breakpoint register on the CPU. Any page in TLB is invalidated if it contained the old breakpoint that was overwritten by the new breakpoint in the single breakpoint register. Thus only one breakpoint can have a page translation in the TLB at any time, and the breakpoints are swapped in and out of single breakpoint register when the TLB entries are swapped. A TLB invalidate entry instruction finds the old breakpoint's TLB entry and invalidates it. When multiple breakpoints exist on a single page, then that page is divided into partial pages, with each partial page having just one breakpoint. The TLB entries contain upper and lower bounds …

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.