]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: record complete runtime-gdb.py path again
authorRuss Cox <rsc@golang.org>
Wed, 16 Apr 2014 01:17:18 +0000 (21:17 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 16 Apr 2014 01:17:18 +0000 (21:17 -0400)
commitdacc020c00e8ad85cc3b006091632f76a79015be
tree3601709ac4879d100b18c716a601de34bcdb86a6
parente97b3ab1f942a1bb2812e6b5c890c052903fa0b0
cmd/ld: record complete runtime-gdb.py path again

This code never got updated after the liblink shuffle.
Tested by hand that it works and respects GOROOT_FINAL.

The discussion in issue 6963 suggests that perhaps we should
just drop runtime-gdb.py entirely, but I am not convinced
that is true. It was in Go 1.2 and I don't see a reason not to
keep it in Go 1.3. The fact that binaries have not been emitting
the reference was just a missed detail in the liblink conversion,
not part of a grand plan.

Fixes #7506.
Fixes #6963.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews, iant, r
https://golang.org/cl/87870048
src/cmd/ld/dwarf.c