diff options
Diffstat (limited to 'src/pkg/runtime/proc.c')
| -rw-r--r-- | src/pkg/runtime/proc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c index c3af1efaf3..79568503b7 100644 --- a/src/pkg/runtime/proc.c +++ b/src/pkg/runtime/proc.c @@ -267,9 +267,10 @@ runtime·tracebackothers(G *me) continue; runtime·printf("\n"); runtime·goroutineheader(gp); - if(gp->status == Grunning) + if(gp->status == Grunning) { runtime·printf("\tgoroutine running on other thread; stack unavailable\n"); - else + runtime·printcreatedby(gp); + } else runtime·traceback(gp->sched.pc, gp->sched.sp, gp->sched.lr, gp); } } |
