diff --git a/src/libmach/netbsd.c b/src/libmach/netbsd.c new file mode 100644 --- /dev/null +++ b/src/libmach/netbsd.c @@ -0,0 +1,45 @@ +// Copyright 2009, 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// This is stubbed out for the moment. REVISIT +#include +#include +#include +#include + +int +ctlproc(int pid, char *msg) +{ + sysfatal("ctlproc unimplemented in NetBSD"); +} + +char* +proctextfile(int pid) +{ + sysfatal("proctextfile unimplemented in NetBSD"); +} + +char* +procstatus(int pid) +{ + sysfatal("procstatus unimplemented in NetBSD"); +} + +Map* +attachproc(int pid, Fhdr *fp) +{ + sysfatal("attachproc unimplemented in NetBSD"); +} + +void +detachproc(Map *m) +{ + sysfatal("detachproc unimplemented in NetBSD"); +} + +int +procthreadpids(int pid, int *p, int np) +{ + sysfatal("procthreadpids unimplemented in NetBSD"); +}