aboutsummaryrefslogtreecommitdiff
path: root/content/debugging-go-programs-with-gnu-debugger.article
diff options
context:
space:
mode:
Diffstat (limited to 'content/debugging-go-programs-with-gnu-debugger.article')
-rw-r--r--content/debugging-go-programs-with-gnu-debugger.article12
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.