]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: record Python stack on TestGdbPython failure
authorAustin Clements <austin@google.com>
Thu, 26 May 2016 15:05:01 +0000 (11:05 -0400)
committerAustin Clements <austin@google.com>
Fri, 27 May 2016 16:46:05 +0000 (16:46 +0000)
For #15599.

Change-Id: Icc2e58a3f314b7a098d78fe164ba36f5b2897de6
Reviewed-on: https://go-review.googlesource.com/23481
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/runtime-gdb_test.go

index 0ad88565148d2ee13a98be32893f8c10a79f9c30..e109fa45288a978742aea6900cff4e25be3c233a 100644 (file)
@@ -100,6 +100,7 @@ func TestGdbPython(t *testing.T) {
                fmt.Sprintf("add-auto-load-safe-path %s/src/runtime", runtime.GOROOT()),
                "-ex", "set startup-with-shell off",
                "-ex", "info auto-load python-scripts",
+               "-ex", "set python print-stack full",
                "-ex", "br main.go:10",
                "-ex", "run",
                "-ex", "echo BEGIN info goroutines\n",