package sim type CpuBreakpoint struct { Addr uint32 } type WatchpointType uint const ( READ WatchpointType = iota WRITE READ_WRITE ) type CpuWatchpoint struct { Addr uint32 Type WatchpointType } type CpuModeTransitionBreakType uint const ( NONE CpuModeTransitionBreakType = iota ALL USER SUPERVISOR FAULT PRIVILEGED UNPRIVILEGED )