2021-12-13 18:25:23 +00:00
|
|
|
//go:build (freebsd && amd64) || darwin
|
|
|
|
// +build freebsd,amd64 darwin
|
2021-01-29 21:39:33 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|