mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 10:47:27 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			620 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			620 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //go:build (linux && 386) || (darwin && arm64)
 | |
| // +build linux,386 darwin,arm64
 | |
| 
 | |
| 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")
 | |
| }
 | 
