• Russ Cox's avatar
    runtime: introduce GOTRACEBACK=single, now the default · bf1de1b1
    Russ Cox authored
    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/16512Reviewed-by: 's avatarAustin Clements <austin@google.com>
    bf1de1b1
signal_windows.go 5.98 KB