From 4601eae6baed9c4bc6e38f035d1b6a20bb7ebbf7 Mon Sep 17 00:00:00 2001
From: Alberto Donizetti
-This applies to the gc
toolchain. Gccgo has native gdb support.
+This applies to the standard toolchain (the gc
Go
+compiler and tools). Gccgo has native gdb support.
Besides this overview you might want to consult the
GDB manual.
-gcflags "-N -l"
to the
debugged.
+If you want to use gdb to inspect a core dump, you can trigger a dump
+on a program crash, on systems that permit it, by setting
+GOTRACEBACK=crash
in the environment (see the
+ runtime package
+documentation for more info).
+
If you're interested in what the debugging information looks like, run
-'objdump -W 6.out
' and browse through the .debug_*
+'objdump -W a.out
' and browse through the .debug_*
sections.
-That struct hchan<*testing.T>
is the runtime-internal representation of a channel. It is currently empty, or gdb would have pretty-printed it's contents.
+That struct hchan<*testing.T>
is the
+runtime-internal representation of a channel. It is currently empty,
+or gdb would have pretty-printed its contents.
-- 2.48.1