mirror of
https://github.com/golang/go
synced 2024-11-20 05:04:43 -07:00
runtime: omit breakpoint during terminal panic
again. CL 4222043 missed this case. R=brainman, r, r2 CC=golang-dev https://golang.org/cl/4235043
This commit is contained in:
parent
c833d2fd94
commit
d1cd829405
@ -64,8 +64,6 @@ runtime·dopanic(int32 unused)
|
||||
runtime·lock(&deadlock);
|
||||
}
|
||||
|
||||
runtime·panicking = 1; // so we don't dump another stack trace for breakpoint trap
|
||||
runtime·breakpoint(); // so we can grab it in a debugger
|
||||
runtime·exit(2);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user