]> Cypherpunks repositories - gostls13.git/commit
runtime: introduce GOTRACEBACK=single, now the default
authorRuss Cox <rsc@golang.org>
Fri, 30 Oct 2015 15:03:02 +0000 (11:03 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 30 Oct 2015 18:43:44 +0000 (18:43 +0000)
commitbf1de1b141b6354874780401d4525b3b5a1ff6d5
treed1ae2462ea0f5821de431ad5d339e1bc98e1aa0e
parent845878a213e1db930e17a5c3108b215be5edbb20
runtime: introduce GOTRACEBACK=single, now the default

Abandon (but still support) the old numbering system.

GOTRACEBACK=none is old 0
GOTRACEBACK=single is the new behavior
GOTRACEBACK=all is old 1
GOTRACEBACK=system is old 2
GOTRACEBACK=crash is unchanged

See doc comment change in runtime1.go for details.

Filed #13107 to decide whether to change default back to GOTRACEBACK=all for Go 1.6 release.
If you run into programs where printing only the current goroutine omits
needed information, please add details in a comment on that issue.

Fixes #12366.

Change-Id: I82ca8b99b5d86dceb3f7102d38d2659d45dbe0db
Reviewed-on: https://go-review.googlesource.com/16512
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/extern.go
src/runtime/os3_plan9.go
src/runtime/panic.go
src/runtime/runtime1.go
src/runtime/signal_386.go
src/runtime/signal_amd64x.go
src/runtime/signal_arm.go
src/runtime/signal_arm64.go
src/runtime/signal_ppc64x.go
src/runtime/signal_windows.go
src/runtime/traceback.go