22 lines
557 B
Go
22 lines
557 B
Go
![]() |
// +build !amd64
|
||
|
|
||
|
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")
|
||
|
}
|