Commit ceaa7741 authored by Austin Clements's avatar Austin Clements

Convert ptrace to whole-package compilation.

R=rsc
APPROVED=rsc
DELTA=15  (9 added, 6 deleted, 0 changed)
OCL=33136
CL=33136
parent 57a9bd0e
# 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=ptrace
GOFILES=\
process.go\
ptrace_linux.go\
regs_$(GOOS)_$(GOARCH).go\
include $(GOROOT)/src/Make.pkg
......@@ -9,7 +9,6 @@ import (
"fmt";
"io";
"os";
"ptrace";
"runtime";
"strconv";
"strings";
......@@ -98,8 +97,6 @@ func (ts threadState) String() string {
* Basic types
*/
type thread struct
// A breakpoint stores information about a single breakpoint,
// including its program counter, the overwritten text if the
// breakpoint is installed.
......@@ -176,8 +173,6 @@ type thread struct {
exitStatus int;
}
func (p *process) newThread(tid int, signal int, cloned bool) (*thread, os.Error)
/*
* Errors
*/
......
......@@ -6,7 +6,6 @@ package ptrace
import (
"os";
"ptrace";
"strconv";
"syscall";
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment