2020-03-10 16:34:40 +00:00
|
|
|
package native
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"github.com/go-delve/delve/pkg/proc"
|
|
|
|
)
|
|
|
|
|
2020-03-26 12:05:09 +00:00
|
|
|
func (t *nativeThread) restoreRegisters(savedRegs proc.Registers) error {
|
2020-03-10 16:34:40 +00:00
|
|
|
return fmt.Errorf("restore regs not supported on i386")
|
|
|
|
}
|
2021-05-06 17:33:56 +00:00
|
|
|
|
|
|
|
func (t *nativeThread) writeHardwareBreakpoint(addr uint64, wtype proc.WatchType, idx uint8) error {
|
|
|
|
return proc.ErrHWBreakUnsupported
|
|
|
|
}
|
|
|
|
|
|
|
|
func (t *nativeThread) clearHardwareBreakpoint(addr uint64, wtype proc.WatchType, idx uint8) error {
|
|
|
|
return proc.ErrHWBreakUnsupported
|
|
|
|
}
|
|
|
|
|
|
|
|
func (t *nativeThread) findHardwareBreakpoint() (*proc.Breakpoint, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|