From: Keith Randall Date: Fri, 19 Jul 2013 19:31:42 +0000 (-0700) Subject: debug/gosym: put pclinetest file in temporary directory X-Git-Tag: go1.2rc2~992 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c38173bcbd2f51d7801d834d3a8a34f75fc1605c;p=gostls13.git debug/gosym: put pclinetest file in temporary directory where it belongs. R=rsc CC=golang-dev https://golang.org/cl/11596043 --- diff --git a/src/pkg/debug/gosym/pclntab_test.go b/src/pkg/debug/gosym/pclntab_test.go index 6ec2b63847..35502e8c39 100644 --- a/src/pkg/debug/gosym/pclntab_test.go +++ b/src/pkg/debug/gosym/pclntab_test.go @@ -49,7 +49,6 @@ func dotest(self bool) bool { // the resulting binary looks like it was built from pclinetest.s, // but we have renamed it to keep it away from the go tool. pclinetestBinary = filepath.Join(pclineTempDir, "pclinetest") - pclinetestBinary = "pclinetest" command := fmt.Sprintf("go tool 6a -o %s.6 pclinetest.asm && go tool 6l -H linux -E main -o %s %s.6", pclinetestBinary, pclinetestBinary, pclinetestBinary) cmd := exec.Command("sh", "-c", command)