Commit e2e6becf authored by Austin Clements's avatar Austin Clements

Make ptrace_linux compile with recent changes to switch type

checking.

R=rsc
APPROVED=rsc
DELTA=11  (0 added, 0 deleted, 11 changed)
OCL=32839
CL=32841
parent 7955490d
...@@ -62,16 +62,16 @@ type threadState string; ...@@ -62,16 +62,16 @@ type threadState string;
const ( const (
running threadState = "Running"; running threadState = "Running";
singleStepping = "SingleStepping"; // Transient singleStepping threadState = "SingleStepping"; // Transient
stopping = "Stopping"; // Transient stopping threadState = "Stopping"; // Transient
stopped = "Stopped"; stopped threadState = "Stopped";
stoppedBreakpoint = "StoppedBreakpoint"; stoppedBreakpoint threadState = "StoppedBreakpoint";
stoppedSignal = "StoppedSignal"; stoppedSignal threadState = "StoppedSignal";
stoppedThreadCreate = "StoppedThreadCreate"; stoppedThreadCreate threadState = "StoppedThreadCreate";
stoppedExiting = "StoppedExiting"; stoppedExiting threadState = "StoppedExiting";
exiting = "Exiting"; // Transient (except main thread) exiting threadState = "Exiting"; // Transient (except main thread)
exited = "Exited"; exited threadState = "Exited";
detached = "Detached"; detached threadState = "Detached";
) )
func (ts threadState) isRunning() bool { func (ts threadState) isRunning() bool {
......
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