]> Cypherpunks repositories - gostls13.git/commitdiff
make debug/proc "build" on more architectures
authorRuss Cox <rsc@golang.org>
Tue, 1 Sep 2009 23:19:14 +0000 (16:19 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 1 Sep 2009 23:19:14 +0000 (16:19 -0700)
R=austin
DELTA=17  (0 added, 16 deleted, 1 changed)
OCL=34213
CL=34218

src/pkg/debug/proc/Makefile
src/pkg/debug/proc/regs_darwin_386.go
src/pkg/debug/proc/regs_darwin_amd64.go
src/pkg/debug/proc/regs_linux_386.go

index 988c495000966aa6dfbd7e78d86cff78f144e42f..d7eb34855e125b27a9457d5fe1793811f184c68c 100644 (file)
@@ -7,7 +7,7 @@ include $(GOROOT)/src/Make.$(GOARCH)
 TARG=ptrace
 GOFILES=\
        proc.go\
-       proc_linux.go\
+       proc_$(GOOS).go\
        regs_$(GOOS)_$(GOARCH).go\
 
 include $(GOROOT)/src/Make.pkg
index 47a7fa81118b274f146ba6f0a36bc31cc5da7ba4..e171f72a95bb9125f2aca7b739fd1a1f26dc219f 100644 (file)
@@ -4,8 +4,3 @@
 
 package proc
 
-import "syscall"
-
-func newRegs(regs *syscall.PtraceRegs, setter func (*syscall.PtraceRegs) os.Error) Regs {
-       panic("newRegs unimplemented on darwin/386");
-}
index b0d5b52a3e94a54804488649ef080ff1121ae74a..60c9ac719e90a13f9b53cedc41905ea8ba26836c 100644 (file)
@@ -3,9 +3,3 @@
 // license that can be found in the LICENSE file.
 
 package proc
-
-import "syscall"
-
-func newRegs(regs *syscall.PtraceRegs, setter func (*syscall.PtraceRegs) os.Error) Regs {
-       panic("newRegs unimplemented on darwin/amd64");
-}
index 89de83d2e9fbdce81e443f944073947456cb2135..e171f72a95bb9125f2aca7b739fd1a1f26dc219f 100644 (file)
@@ -4,8 +4,3 @@
 
 package proc
 
-import "syscall"
-
-func newRegs(regs *syscall.PtraceRegs, setter func (*syscall.PtraceRegs) os.Error) Regs {
-       panic("newRegs unimplemented on linux/386");
-}