aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/runtime/proc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 54408dbab7..1468c7c599 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -4428,6 +4428,7 @@ func entersyscallblock() {
save(pc, sp, bp)
gp.syscallsp = gp.sched.sp
gp.syscallpc = gp.sched.pc
+ gp.syscallbp = gp.sched.bp
if gp.syscallsp < gp.stack.lo || gp.stack.hi < gp.syscallsp {
sp1 := sp
sp2 := gp.sched.sp