mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
print tracebacks for all goroutines, not just the crashing one
R=ken OCL=13518 CL=13518
This commit is contained in:
parent
ea0569026c
commit
3835e01d97
5 changed files with 21 additions and 2 deletions
|
|
@ -153,7 +153,8 @@ sighandler(int32 sig, siginfo* info, void** context)
|
|||
prints("\n\n");
|
||||
|
||||
traceback((void *)sc->rip, (void *)sc->rsp, (void *)sc->r15);
|
||||
print_sigcontext(sc);
|
||||
tracebackothers((void*)sc->__r15);
|
||||
print_sigcontext(sc);
|
||||
|
||||
sys·breakpoint();
|
||||
sys·exit(2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue