summaryrefslogtreecommitdiff
path: root/src/pkg/debug/proc/proc.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-10-06 14:55:06 -0700
committerRuss Cox <rsc@golang.org>2009-10-06 14:55:06 -0700
commita7bf4bfaf01a627bbb1be972608820be08e80512 (patch)
treef5b390ddea97265159af38aa200118243d51fc7f /src/pkg/debug/proc/proc.go
parent518c5ca46c834a340d743c668a4f19ccdfaf570f (diff)
downloadgolang-a7bf4bfaf01a627bbb1be972608820be08e80512.tar.gz
gofmt on crypto, debug
R=gri DELTA=2560 (127 added, 177 deleted, 2256 changed) OCL=35388 CL=35395
Diffstat (limited to 'src/pkg/debug/proc/proc.go')
-rw-r--r--src/pkg/debug/proc/proc.go26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/pkg/debug/proc/proc.go b/src/pkg/debug/proc/proc.go
index c67e02fea..fc56914b1 100644
--- a/src/pkg/debug/proc/proc.go
+++ b/src/pkg/debug/proc/proc.go
@@ -13,15 +13,15 @@ package proc
// and proc_darwin.go do, because deps.bash only looks at
// this file.
import (
- _ "container/vector";
- _ "fmt";
- _ "io";
- "os";
- _ "runtime";
- "strconv";
- _ "strings";
- _ "sync";
- _ "syscall";
+ _ "container/vector";
+ _ "fmt";
+ _ "io";
+ "os";
+ _ "runtime";
+ "strconv";
+ _ "strings";
+ _ "sync";
+ _ "syscall";
)
type Word uint64
@@ -149,7 +149,7 @@ type Process interface {
// user request (e.g., from the Stop method or after single stepping),
// or that are stopped because some other thread caused the program to
// stop.
-type Stopped struct {}
+type Stopped struct{}
func (c Stopped) String() string {
return "stopped";
@@ -157,7 +157,7 @@ func (c Stopped) String() string {
// Breakpoint is a stop cause resulting from a thread reaching a set
// breakpoint.
-type Breakpoint Word
+type Breakpoint Word
// PC returns the program counter that the program is stopped at.
func (c Breakpoint) PC() Word {
@@ -202,8 +202,8 @@ func (c *ThreadCreate) String() string {
// process threads and its registers and memory will still be
// accessible.
type ThreadExit struct {
- exitStatus int;
- signal string;
+ exitStatus int;
+ signal string;
}
// Exited returns true if the thread exited normally.