From db9a09ff445f7e6bfcb2d3484f8c6bad13ebdd3d Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Fri, 8 Mar 2013 11:17:09 +1100 Subject: go.blog: add content R=golang-dev, r CC=golang-dev https://golang.org/cl/7436052 --- content/debugging-go-programs-with-gnu-debugger.article | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 content/debugging-go-programs-with-gnu-debugger.article (limited to 'content/debugging-go-programs-with-gnu-debugger.article') 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. -- cgit v1.2.3