]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: restore .debug_gdb_script section after runtime reorganization
authorShenghou Ma <minux@golang.org>
Fri, 16 Jan 2015 06:23:56 +0000 (01:23 -0500)
committerMinux Ma <minux@golang.org>
Fri, 6 Feb 2015 19:21:59 +0000 (19:21 +0000)
commit810a499bda958617bcfc42f6a2dad4739a607604
treed71bdac15d00b2a2ffa96e206f5d8cb792ee5185
parent7e43aee3016006fb74760d1936fb1ce6d2d08560
cmd/ld: restore .debug_gdb_script section after runtime reorganization

On some systems, gdb refuses to load Python plugin from arbitrary
paths, so we have to add $GOROOT/src/runtime to auto-load-safe-path
in the gdb script test.

Change-Id: Icc44baab8d04a65bd21ceac2ab8ddb13c8d083e8
Reviewed-on: https://go-review.googlesource.com/2905
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/ld/dwarf.c
src/runtime/runtime-gdb_test.go