commit | 324290c8b3ea8997b079f73f93b4bec866abcd7c | [log] [tgz] |
---|---|---|
author | jcd <jcd@golang.org> | Fri Feb 05 22:12:21 2016 +1100 |
committer | jcd . <jcd@golang.org> | Tue Feb 09 06:32:19 2016 +0000 |
tree | 9214ecc855c1b4b6770967c2f52d00b8298ee3bc | |
parent | 3119cb53db5b8d095a2e73acb25e8dfd20bfa129 [diff] |
x/debug: add a function for reading the current (not-dead) goroutines from a target program. Moves some string-reading code from print.go into a separate function in peek.go. Also adds functions for reading string fields in structs, and C-style NUL-terminated strings, Change-Id: I399960891ce7d3ab0c989b94021db284dc095a59 Reviewed-on: https://go-review.googlesource.com/19248 Reviewed-by: Dave Day <djd@golang.org>