summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/proc.c
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@debian.org>2014-03-03 17:40:19 +0100
committerMichael Stapelberg <stapelberg@debian.org>2014-03-03 17:40:19 +0100
commitc8bf49ef8a92e2337b69c14b9b88396efe498600 (patch)
tree79832126e4ea62c62aa4e23003864d706fa2e903 /src/pkg/runtime/proc.c
parent64d2a7c8945ba05af859901f5e248f1befdd8621 (diff)
downloadgolang-c8bf49ef8a92e2337b69c14b9b88396efe498600.tar.gz
Imported Upstream version 1.2.1upstream/1.2.1
Diffstat (limited to 'src/pkg/runtime/proc.c')
-rw-r--r--src/pkg/runtime/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c
index de26c72d3..ed3e1e73e 100644
--- a/src/pkg/runtime/proc.c
+++ b/src/pkg/runtime/proc.c
@@ -276,7 +276,7 @@ runtime·tracebackothers(G *me)
if((gp = m->curg) != nil && gp != me) {
runtime·printf("\n");
runtime·goroutineheader(gp);
- runtime·traceback(gp->sched.pc, gp->sched.sp, gp->sched.lr, gp);
+ runtime·traceback(~(uintptr)0, ~(uintptr)0, 0, gp);
}
for(gp = runtime·allg; gp != nil; gp = gp->alllink) {
@@ -290,7 +290,7 @@ runtime·tracebackothers(G *me)
runtime·printf("\tgoroutine running on other thread; stack unavailable\n");
runtime·printcreatedby(gp);
} else
- runtime·traceback(gp->sched.pc, gp->sched.sp, gp->sched.lr, gp);
+ runtime·traceback(~(uintptr)0, ~(uintptr)0, 0, gp);
}
}