github.com/cnboonhan/delve@v0.0.0-20230908061759-363f2388c2fb/pkg/proc/native/hwbreak_other.go (about) 1 //go:build (linux && 386) || (darwin && arm64) || (windows && arm64) || (linux && ppc64le) 2 // +build linux,386 darwin,arm64 windows,arm64 linux,ppc64le 3 4 package native 5 6 import ( 7 "errors" 8 9 "github.com/go-delve/delve/pkg/proc" 10 ) 11 12 func (t *nativeThread) findHardwareBreakpoint() (*proc.Breakpoint, error) { 13 return nil, errors.New("hardware breakpoints not supported") 14 } 15 16 func (t *nativeThread) writeHardwareBreakpoint(addr uint64, wtype proc.WatchType, idx uint8) error { 17 return errors.New("hardware breakpoints not supported") 18 } 19 20 func (t *nativeThread) clearHardwareBreakpoint(addr uint64, wtype proc.WatchType, idx uint8) error { 21 return errors.New("hardware breakpoints not supported") 22 }