
MpEntry is declared as a struct, rather
than a class, to emphasize it is purely a data structure, with no
explicit member functions. It represents a single matchpoint in the
hash table.
There are three public member variables:
type. The type of matchpoint being
represented.
addr. The address of the matchpoint
instr. For memory (soft) breakpoints the
OpenRISC 1000 instruction which has been substituted by a
l.trap instruction.
There is one private variable, next, a pointer to
MpEntry, used to form lists of entries in
the hash table. MpHash is declared a friend
class, giving it access to this variable to construct the lists.
