Add bound related fields to the siginfo structure
authorWalfred Tedeschi <walfred.tedeschi@intel.com>
Tue, 2 Feb 2016 10:58:36 +0000 (11:58 +0100)
committerWalfred Tedeschi <walfred.tedeschi@intel.com>
Tue, 2 Feb 2016 10:58:36 +0000 (11:58 +0100)
commit96b5c49fb18ba7ad070b0c3ad36388d56c5897fb
treed3ceb6bede943f289341c88040700fff95c06857
parent190b495d472576db66a8727d5872fcca3d5519c6
Add bound related fields to the siginfo structure

Both Linux and glibc have introduced bound related fields in the
segmentation fault fields of the siginfo_t type. Add the new fields
to our x86's siginfo_t type too.

Kernel patch:
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=ee1b58d36aa1b5a79eaba11f5c3633c88231da83

Glibc patch:
http://repo.or.cz/w/glibc.git/commit/d4358b51c26a634eb885955aea06cad26af6f696

2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/ChangeLog:

* linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd
structure to the siginfo if extra_fields contains
LINUX_SIGINFO_FIELD_ADDR_BND.
gdb/ChangeLog
gdb/linux-tdep.c