mirror of
https://github.com/golang/go
synced 2024-11-25 23:07:58 -07:00
Convert ptrace to whole-package compilation.
R=rsc APPROVED=rsc DELTA=15 (9 added, 6 deleted, 0 changed) OCL=33136 CL=33136
This commit is contained in:
parent
57a9bd0ee3
commit
ceaa7741a2
13
usr/austin/ptrace/Makefile
Normal file
13
usr/austin/ptrace/Makefile
Normal file
@ -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=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";
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user