mirror of
				https://github.com/go-delve/delve.git
				synced 2025-11-01 03:42:59 +08:00 
			
		
		
		
	 4455d6a9ef
			
		
	
	4455d6a9ef
	
	
	
		
			
			* Add support for windows/arm64 * split sentinel files and add winarm64 experiment * update loadBinaryInfoPE to support PIE binaries * skip TestDump on windows/arm64 * run windows/arm64 compilation on windows/amd64 * add entry point check for pie binaries * delete unusded code * document windows/arm64 breakpoint * implement changing windows/arm64 fp registers * update crosscall offset names * fix G load when using CGO * fix testvariablescgo * remove DerefGStructOffset * derefrence gstructoffset in GStructOffset() if necessary
		
			
				
	
	
		
			23 lines
		
	
	
		
			656 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			656 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //go:build (linux && 386) || (darwin && arm64) || (windows && arm64)
 | |
| // +build linux,386 darwin,arm64 windows,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")
 | |
| }
 |