aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2016-01-06 23:00:08 -0500
committerRuss Cox <rsc@golang.org>2016-01-08 15:33:48 +0000
commit331a6055ab8785e77bd1331355d209bd7da2ae26 (patch)
tree28ee7cc0781fb7460e26ca04b5254d7ff7474dd3 /src/database/sql
parent6da608206c222c280078264f02135ffaa4e1aa26 (diff)
downloadgo-331a6055ab8785e77bd1331355d209bd7da2ae26.tar.xz
runtime: fix up OS X kernel bug sending user-generated SIGTRAP
OS X unconditionally sets si_code = TRAP_BRKPT when sending SIGTRAP, even if it was generated by kill -TRAP and not a breakpoint. Correct the si_code by looking to see if the PC is after a breakpoint. For #12906. Change-Id: I998c2499f7f12b338e607282a325b045f1f4f690 Reviewed-on: https://go-review.googlesource.com/18347 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions