]> Cypherpunks repositories - gostls13.git/commit
runtime: gdb support: gracefully handle not being able to find types
authorLuuk van Dijk <lvd@golang.org>
Fri, 23 Sep 2011 08:28:02 +0000 (10:28 +0200)
committerLuuk van Dijk <lvd@golang.org>
Fri, 23 Sep 2011 08:28:02 +0000 (10:28 +0200)
commit46ed89b7a32f2c415dc12a077e2bbc8bbf973eb9
tree03bb93e6161cdffe8f24962e6dc7785f121fd843
parent7249fa773a452b57f9b6834e540fa4848d5fdd9a
runtime: gdb support: gracefully handle not being able to find types

The Dwarf info has the full typenames, the go *struct runtime.commonType
has the short name.  A more permanent fix would link the two together
but this way the user gets useable stack traces for now.

R=rsc
CC=golang-dev
https://golang.org/cl/5097046
src/pkg/runtime/runtime-gdb.py