1
0
mirror of https://github.com/golang/go synced 2024-11-23 11:10:04 -07:00

runtime: fix windows build

Fixes #4743.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7284044
This commit is contained in:
Ian Lance Taylor 2013-02-02 11:41:04 -08:00
parent dcf16bd83d
commit e5ea2d5335

View File

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