aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-09-02 13:13:40 -0700
committerRuss Cox <rsc@golang.org>2009-09-02 13:13:40 -0700
commita03764aa50dcdb0e0a60008bd7ae04381f512831 (patch)
tree896a897b50d316afba90cee1541826d069685dbd /src/pkg/debug
parent115c62de8de3b1549453f93b738c4899c72d176a (diff)
downloadgo-a03764aa50dcdb0e0a60008bd7ae04381f512831.tar.xz
fix build
TBR=gri OCL=34264 CL=34264
Diffstat (limited to 'src/pkg/debug')
-rw-r--r--src/pkg/debug/gosym/Makefile13
-rw-r--r--src/pkg/debug/proc/proc.go10
-rw-r--r--src/pkg/debug/proc/proc_linux.go2
3 files changed, 25 insertions, 0 deletions
diff --git a/src/pkg/debug/gosym/Makefile b/src/pkg/debug/gosym/Makefile
new file mode 100644
index 0000000000..715288250f
--- /dev/null
+++ b/src/pkg/debug/gosym/Makefile
@@ -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
+
diff --git a/src/pkg/debug/proc/proc.go b/src/pkg/debug/proc/proc.go
index 023f4775c0..e8c62f22b5 100644
--- a/src/pkg/debug/proc/proc.go
+++ b/src/pkg/debug/proc/proc.go
@@ -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
diff --git a/src/pkg/debug/proc/proc_linux.go b/src/pkg/debug/proc/proc_linux.go
index 88269100fd..87d3bf1ef7 100644
--- a/src/pkg/debug/proc/proc_linux.go
+++ b/src/pkg/debug/proc/proc_linux.go
@@ -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";