aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug/proc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/debug/proc')
-rw-r--r--src/pkg/debug/proc/proc.go10
-rw-r--r--src/pkg/debug/proc/proc_linux.go2
2 files changed, 12 insertions, 0 deletions
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";