print tracebacks for all goroutines, not just the crashing one

R=ken
OCL=13518
CL=13518
This commit is contained in:
Rob Pike 2008-07-28 11:29:41 -07:00
parent ea0569026c
commit 3835e01d97
5 changed files with 21 additions and 2 deletions

View file

@ -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);