From a59c67b783518226a218a567cd97a15f0c4e1b02 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Fri, 12 Jun 2015 14:53:20 -0500 Subject: [PATCH] Update documentation for Thread struct --- proc/threads.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/proc/threads.go b/proc/threads.go index 97648d27..73957d22 100644 --- a/proc/threads.go +++ b/proc/threads.go @@ -16,13 +16,14 @@ import ( // a whole, and Status represents the last result of a `wait` call // on this thread. type Thread struct { - Id int - Status *sys.WaitStatus - CurrentBreakpoint *Breakpoint - dbp *DebuggedProcess - singleStepping bool - running bool - os *OSSpecificDetails + Id int // Thread ID or mach port + Status *sys.WaitStatus // Status returned from last wait call + CurrentBreakpoint *Breakpoint // Breakpoint thread is currently stopped at + + dbp *DebuggedProcess + singleStepping bool + running bool + os *OSSpecificDetails } type Location struct { -- GitLab