From 0c54225b515f80ac3ff27337bde1653908a78f0d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 15 Dec 2010 11:49:23 -0500 Subject: remove nacl The recent linker changes broke NaCl support a month ago, and there are no known users of it. The NaCl code can always be recovered from the repository history. R=adg, r CC=golang-dev https://golang.org/cl/3671042 --- src/pkg/debug/proc/proc_nacl.go | 20 -------------------- src/pkg/debug/proc/regs_nacl_386.go | 5 ----- 2 files changed, 25 deletions(-) delete mode 100644 src/pkg/debug/proc/proc_nacl.go delete mode 100644 src/pkg/debug/proc/regs_nacl_386.go (limited to 'src/pkg/debug') diff --git a/src/pkg/debug/proc/proc_nacl.go b/src/pkg/debug/proc/proc_nacl.go deleted file mode 100644 index be26bbf18b..0000000000 --- a/src/pkg/debug/proc/proc_nacl.go +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2009 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. - -package proc - -import ( - "os" - "syscall" -) - -// Process tracing is not supported on Native Client. - -func Attach(pid int) (Process, os.Error) { - return nil, os.NewSyscallError("ptrace", syscall.ENACL) -} - -func ForkExec(argv0 string, argv []string, envv []string, dir string, fd []*os.File) (Process, os.Error) { - return nil, os.NewSyscallError("fork/exec", syscall.ENACL) -} diff --git a/src/pkg/debug/proc/regs_nacl_386.go b/src/pkg/debug/proc/regs_nacl_386.go deleted file mode 100644 index 60c9ac719e..0000000000 --- a/src/pkg/debug/proc/regs_nacl_386.go +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2009 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. - -package proc -- cgit v1.3-5-g9baa