]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: invoke gdb more carefully in ssa/debug_test.go
authorDavid Chase <drchase@google.com>
Mon, 26 Mar 2018 17:37:00 +0000 (13:37 -0400)
committerDavid Chase <drchase@google.com>
Mon, 26 Mar 2018 18:44:52 +0000 (18:44 +0000)
commita934e34e875d6402da79d52a859434b60b6f6131
tree0897c44cdd19ff8b8af248a2b11d92e5eb20a856
parent3db3826a57ccb39c1e30fe70dc82f2a6c2785877
cmd/compile: invoke gdb more carefully in ssa/debug_test.go

Gdb can be sensitive to contents of .gdbinit, and to run
this test properly needs to have runtime/runtime-gdb.py
on the auto load safe path.  Therefore, turn off .gdbinit
loading and explicitly add $GOROOT/runtime to the safe
load path.

This should make ssa/debug_test.go run more consistently.

Updates #24464.

Change-Id: I63ed17c032cb3773048713ce51fca3a3f86e79b6
Reviewed-on: https://go-review.googlesource.com/102598
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/ssa/debug_test.go