diff options
author | Andrew Gerrand <adg@golang.org> | 2013-03-08 11:17:09 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2013-03-08 11:17:09 +1100 |
commit | db9a09ff445f7e6bfcb2d3484f8c6bad13ebdd3d (patch) | |
tree | 513b5f3d579e7c1fcbc304058ddaa2551e7c24fb /content/debugging-go-programs-with-gnu-debugger.article | |
parent | 0ee9872fcd5cf9023cb43a68faf67203cbe81295 (diff) |
go.blog: add content
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7436052
Diffstat (limited to 'content/debugging-go-programs-with-gnu-debugger.article')
-rw-r--r-- | content/debugging-go-programs-with-gnu-debugger.article | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/content/debugging-go-programs-with-gnu-debugger.article b/content/debugging-go-programs-with-gnu-debugger.article new file mode 100644 index 0000000..0a9a069 --- /dev/null +++ b/content/debugging-go-programs-with-gnu-debugger.article @@ -0,0 +1,12 @@ +Debugging Go programs with the GNU Debugger +30 Oct 2011 +Tags: debug, gdb + +Andrew Gerrand + +* Introduction + +Last year we [[http://blog.golang.org/2010/11/debugging-go-code-status-report.html][reported]] that Go's [[http://golang.org/cmd/gc/][gc]]/[[http://golang.org/cmd/6l/][ld]] toolchain produces DWARFv3 debugging information that can be read by the GNU Debugger (GDB). Since then, work has continued steadily on improving support for debugging Go code with GDB. +Among the improvements are the ability to inspect goroutines and to print native Go data types, including structs, slices, strings, maps, interfaces, and channels. + +To learn more about Go and GDB, see the [[http://golang.org/doc/debugging_with_gdb.html][Debugging with GDB]] article. |