]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix windows build
authorIan Lance Taylor <iant@golang.org>
Sat, 2 Feb 2013 19:41:04 +0000 (11:41 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 2 Feb 2013 19:41:04 +0000 (11:41 -0800)
Fixes #4743.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7284044

src/pkg/runtime/signal_windows_386.c

index fc2a2459a049bbd7d9fb97ac0005a69ab7542f3b..d76d5bf4bd8ce02cf3c95f115770c0ba90b9abf3 100644 (file)
@@ -75,8 +75,8 @@ runtime·sighandler(ExceptionRecord *info, Context *r, G *gp)
        runtime·printf("\n");
 
        if(runtime·gotraceback()){
-               runtime·traceback((void*)r->Eip, (void*)r->Esp, 0, m->curg);
-               runtime·tracebackothers(m->curg);
+               runtime·traceback((void*)r->Eip, (void*)r->Esp, 0, gp);
+               runtime·tracebackothers(gp);
                runtime·dumpregs(r);
        }