delve/pkg/proc/native/hwbreak_other.go
2024-10-11 12:34:25 -07:00

22 lines
653 B
Go

//go:build (linux && 386) || (darwin && arm64) || (windows && arm64) || (linux && ppc64le) || (linux && riscv64)
package native
import (
"errors"
"github.com/go-delve/delve/pkg/proc"
)
func (t *nativeThread) findHardwareBreakpoint() (*proc.Breakpoint, error) {
return nil, errors.New("hardware breakpoints not supported")
}
func (t *nativeThread) writeHardwareBreakpoint(addr uint64, wtype proc.WatchType, idx uint8) error {
return errors.New("hardware breakpoints not supported")
}
func (t *nativeThread) clearHardwareBreakpoint(addr uint64, wtype proc.WatchType, idx uint8) error {
return errors.New("hardware breakpoints not supported")
}