commit | 7251105b6a3f658bcae16dd382ec3047858da7f1 | [log] [tgz] |
---|---|---|
author | jcd <jcd@golang.org> | Fri Nov 13 17:16:23 2015 +1100 |
committer | jcd . <jcd@golang.org> | Thu Feb 04 03:31:46 2016 +0000 |
tree | 898e91eca041b936f5208afab23ca48a1053eb08 | |
parent | 450bc3a73495e77763c92c336e3bc040b3f34c14 [diff] |
x/debug: add syntax for getting the value of an arbitrary symbol in the binary. Putting arbitrary symbol names through the parser won't work in general, so we add a built-in function lookup("x") which gets the value of the symbol x. Change-Id: Ia35163fc93c0fcdf58bdaacefdc5121a61cd3aa1 Reviewed-on: https://go-review.googlesource.com/16855 Reviewed-by: jcd . <jcd@golang.org>