]> Cypherpunks repositories - gostls13.git/commit
runtime: print faulting instruction on a SIGFPE
authorKeith Randall <khr@golang.org>
Thu, 25 Jun 2020 16:10:23 +0000 (09:10 -0700)
committerKeith Randall <khr@golang.org>
Mon, 17 Aug 2020 21:57:05 +0000 (21:57 +0000)
commit88c094c96a164aef2134e548d495c4bc14dc4687
tree78d45873aa7e116606e38d3838ad944c3682355c
parentba97be4b58241bebbc4ff70574bd82152ab19ffe
runtime: print faulting instruction on a SIGFPE

Just like SIGILL, it might be useful to see what the instruction
that generated the SIGFPE is.

Update #39816

Change-Id: I8b2ff692998f0b770289339537dceab96b09d1ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/239999
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/signal_unix.go