diff options
Diffstat (limited to 'src/runtime/stack.go')
| -rw-r--r-- | src/runtime/stack.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/stack.go b/src/runtime/stack.go index 84fbd33329..ebbe3e013d 100644 --- a/src/runtime/stack.go +++ b/src/runtime/stack.go @@ -1030,6 +1030,7 @@ func newstack() { newsize := oldsize * 2 if newsize > maxstacksize { print("runtime: goroutine stack exceeds ", maxstacksize, "-byte limit\n") + print("runtime: sp=", hex(sp), " stack=[", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n") throw("stack overflow") } |
