mirror of
https://github.com/golang/go
synced 2024-11-12 06:30:21 -07:00
runtime: comment out breakpoint in windows/386 sighandler
This code being buggy is the only explanation I can come up with for issue 7325. It's probably not, but the only alternative is a Windows kernel bug. Comment this out to see what breaks or gets fixed. Update #7325 LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/72590044
This commit is contained in:
parent
02903f8395
commit
b2fa6f41a4
@ -30,11 +30,13 @@ runtime·sighandler(ExceptionRecord *info, Context *r, G *gp)
|
||||
bool crash;
|
||||
uintptr *sp;
|
||||
|
||||
/*
|
||||
switch(info->ExceptionCode) {
|
||||
case EXCEPTION_BREAKPOINT:
|
||||
r->Eip--; // because 8l generates 2 bytes for INT3
|
||||
return 1;
|
||||
}
|
||||
*/
|
||||
|
||||
if(gp != nil && runtime·issigpanic(info->ExceptionCode)) {
|
||||
// Make it look like a call to the signal func.
|
||||
|
Loading…
Reference in New Issue
Block a user