-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
by erik.westrup:
The resulting ELF produced does not contain a ".debug_gdb_script" section. Thus no Go runtime support for Go is loaded when running the ELF in GDB. > What does 'go version' print? go version devel +e3ff5d42017d Mon Mar 10 07:57:58 2014 +0100 linux/amd64 > What steps reproduce the problem? 1. $ hg clone -u release https://code.google.com/p/go $ cd go $ hg update default $ src/all.bash 2. $ go build hello.go 3. $ readelf -S hello | grep -c debug_gdb_script 0 > What happened? No debug gdb script path included. > What should have happened instead? $ readelf -S hello | grep -c debug_gdb_script 1 which happens on the release-branch.go1.2 branch. > Please provide any additional information below. Has the way of loading the debug_gdb_script changed intentionally?