mirror of
https://github.com/golang/go
synced 2024-11-18 18:34:40 -07:00
runtime: fix plan9, windows builds
TBR=dvyukov CC=golang-dev https://golang.org/cl/10229043
This commit is contained in:
parent
80efeff20a
commit
e5cbebc1ad
@ -95,7 +95,7 @@ Throw:
|
||||
runtime·printf("\n");
|
||||
|
||||
if(runtime·gotraceback(&crash)) {
|
||||
runtime·traceback((void*)ureg->pc, (void*)ureg->sp, 0, gp);
|
||||
runtime·traceback(ureg->pc, ureg->sp, 0, gp);
|
||||
runtime·tracebackothers(gp);
|
||||
runtime·dumpregs(ureg);
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ Throw:
|
||||
runtime·printf("\n");
|
||||
|
||||
if(runtime·gotraceback(&crash)) {
|
||||
runtime·traceback((void*)ureg->ip, (void*)ureg->sp, 0, gp);
|
||||
runtime·traceback(ureg->ip, ureg->sp, 0, gp);
|
||||
runtime·tracebackothers(gp);
|
||||
runtime·dumpregs(ureg);
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ runtime·sighandler(ExceptionRecord *info, Context *r, G *gp)
|
||||
runtime·printf("\n");
|
||||
|
||||
if(runtime·gotraceback(&crash)){
|
||||
runtime·traceback((void*)r->Eip, (void*)r->Esp, 0, gp);
|
||||
runtime·traceback(r->Eip, r->Esp, 0, gp);
|
||||
runtime·tracebackothers(gp);
|
||||
runtime·dumpregs(r);
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ runtime·sighandler(ExceptionRecord *info, Context *r, G *gp)
|
||||
runtime·printf("\n");
|
||||
|
||||
if(runtime·gotraceback(&crash)){
|
||||
runtime·traceback((void*)r->Rip, (void*)r->Rsp, 0, gp);
|
||||
runtime·traceback(r->Rip, r->Rsp, 0, gp);
|
||||
runtime·tracebackothers(gp);
|
||||
runtime·dumpregs(r);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user