-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
Milestone
Description
(Filed under cmd/ld because that's where the reference is.) As of version 7.5, gdb includes native go support. However that support is still nascent. From the source of gdb 7.6.2: /* TODO: - split stacks - printing of native types - goroutines - lots more - gccgo mangling needs redoing It's too hard, for example, to know whether one is looking at a mangled Go symbol or not, and their are ambiguities, e.g., the demangler may get passed *any* symbol, including symbols from other languages and including symbols that are already demangled. One thought is to at least add an _G prefix. - 6g mangling isn't supported yet */ runtime-gdb.py already provides some of this stuff. I'm not sure if this gdb gets in the way. We really need to take a look at gdb support before Go 1.3. Does it still work? What's the recommended usage? And do we need to update the docs?