Add si_addr_bnd to _sigfault in x86 struct siginfohjl/pr18696
commit341681a4fe9eb585068b7a4f57ea52fa12e97a94
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 20 Jul 2015 16:24:33 +0000 (20 09:24 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 20 Jul 2015 16:31:30 +0000 (20 09:31 -0700)
tree2dcd2d54fce6a067f1ff26ba2d1c8f0dfcd78ecc
parentd87630edc49200e7892b56a6ceb116ffb8e17c38
Add si_addr_bnd to _sigfault in x86 struct siginfo

X86 struct siginfo in kernel 3.19 has been changed by

commit ee1b58d36aa1b5a79eaba11f5c3633c88231da83
Author: Qiaowei Ren <qiaowei.ren@intel.com>
Date:   Fri Nov 14 07:18:19 2014 -0800

    mpx: Extend siginfo structure to include bound violation information

    This patch adds new fields about bound violation into siginfo
    structure. si_lower and si_upper are respectively lower bound
    and upper bound when bound violation is caused.

This patch updates x86 struct siginfo to enable GDB with MPX support.

[BZ #18696]
* sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
si_addr_bnd.
(si_lower): New.
(si_upper): Likewise.
sysdeps/unix/sysv/linux/x86/bits/siginfo.h