gitlab.com/Raven-IO/raven-delve@v1.22.4/pkg/proc/native/hwbreak_other.go (about)

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