aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.c
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-07-28 11:29:41 -0700
committerRob Pike <r@golang.org>2008-07-28 11:29:41 -0700
commit3835e01d97c26f110d9842f3279ec24bd3f15add (patch)
tree24d1103f17c63bf035886e72f7d475727077691c /src/runtime/runtime.c
parentea0569026cddcecd8cf6df55dcd24c93fc9769ea (diff)
downloadgo-3835e01d97c26f110d9842f3279ec24bd3f15add.tar.xz
print tracebacks for all goroutines, not just the crashing one
R=ken OCL=13518 CL=13518
Diffstat (limited to 'src/runtime/runtime.c')
-rw-r--r--src/runtime/runtime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/runtime.c b/src/runtime/runtime.c
index 8180b3c8ec..b53f857cb0 100644
--- a/src/runtime/runtime.c
+++ b/src/runtime/runtime.c
@@ -19,6 +19,7 @@ sys·panicl(int32 lno)
prints("\n");
sp = (uint8*)&lno;
traceback(sys·getcallerpc(&lno), sp, g);
+ tracebackothers(g);
sys·breakpoint();
sys·exit(2);
}