]> Cypherpunks repositories - gostls13.git/commitdiff
fix build
authorRuss Cox <rsc@golang.org>
Wed, 2 Sep 2009 20:13:40 +0000 (13:13 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 2 Sep 2009 20:13:40 +0000 (13:13 -0700)
TBR=gri
OCL=34264
CL=34264

src/pkg/debug/gosym/Makefile [new file with mode: 0644]
src/pkg/debug/proc/proc.go
src/pkg/debug/proc/proc_linux.go

diff --git a/src/pkg/debug/gosym/Makefile b/src/pkg/debug/gosym/Makefile
new file mode 100644 (file)
index 0000000..7152882
--- /dev/null
@@ -0,0 +1,13 @@
+# 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.
+
+include $(GOROOT)/src/Make.$(GOARCH)
+
+TARG=debug/gosym
+GOFILES=\
+       pclntab.go\
+       symtab.go\
+
+include $(GOROOT)/src/Make.pkg
+
index 023f4775c07a9e512252464922998e863027337b..e8c62f22b5ed53f8b930f79b6fc664468c27fdcf 100644 (file)
@@ -9,9 +9,19 @@
 // memory and registers.
 package proc
 
+// TODO(rsc): Have to import everything that proc_linux.go
+// and proc_darwin.go do, because deps.bash only looks at
+// this file.
 import (
+       "container/vector";
+       "fmt";
+       "io";
        "os";
+       "runtime";
        "strconv";
+       "strings";
+       "sync";
+       "syscall";
 )
 
 type Word uint64
index 88269100fd016c97bd6b5563aae424ecd48cb70a..87d3bf1ef751599f974b02d7c8e24e1b20694889 100644 (file)
@@ -4,6 +4,8 @@
 
 package proc
 
+// TODO(rsc): Imports here after to be in proc.go too in order
+// for deps.bash to get the right answer.
 import (
        "container/vector";
        "fmt";