delve/pkg/proc/native/dump_other.go
Alessandro Arzilli 47481fe0ab
proc/native: support core dumping on FreeBSD (#3305)
Co-authored-by: a <a@kra>
2023-04-24 14:33:38 -07:00

18 lines
467 B
Go

//go:build darwin || (windows && arm64)
// +build darwin windows,arm64
package native
import (
"github.com/go-delve/delve/pkg/elfwriter"
"github.com/go-delve/delve/pkg/proc"
)
func (p *nativeProcess) MemoryMap() ([]proc.MemoryMapEntry, error) {
return nil, proc.ErrMemoryMapNotSupported
}
func (p *nativeProcess) DumpProcessNotes(notes []elfwriter.Note, threadDone func()) (threadsDone bool, notesout []elfwriter.Note, err error) {
return false, notes, nil
}