From: Walfred Tedeschi <walfred.tedeschi@intel.com>
To: palves@redhat.com, eliz@gnu.org, brobecker@adacore.com
Cc: gdb-patches@sourceware.org,
Walfred Tedeschi <walfred.tedeschi@intel.com>
Subject: [PATCH V4 0/6] Intel MPX bound violation support
Date: Thu, 21 Jan 2016 14:48:00 -0000 [thread overview]
Message-ID: <1453387705-6597-1-git-send-email-walfred.tedeschi@intel.com> (raw)
Intel MPX bound violation support.
First 5 patches of the series are preparation for the
bound violation handler.
Preparation:
Fixup implementation for GDB and gdbserver of siginfo
types for x32 and 32bits inferior running on 64bits are merged.
It was added a simple way to add fields in the
siginfo structure for all architectures.
For i386/amd64 the dependency on the siginfo where
GDB/gdbserver for the usage and display was eliminated.
Now GDB descriptions of this type are enough for display
Bound violation information can be seen in the last commit of
the series.
From V3 to V4:
* Changed changelog and added Pedro's comments on 1/6.
* Added Pedro's feedback on 3/6.
* News is added into 6/6.
Thanks for the review and regards,
-Fred
Walfred Tedeschi (6):
Merge gdb and gdbserver implementations for siginfo
Prepararion for new siginfo on Linux.
Use linux_get_siginfo_type_with_fields for x86.
Add bound related fields to the siginfo structure.
Adaptation of siginfo fixup for the new bnd fields.
Intel MPX bound violation handling.
gdb/Makefile.in | 6 +-
gdb/NEWS | 15 +
gdb/amd64-linux-nat.c | 431 +-----------------
gdb/amd64-linux-tdep.c | 4 +
gdb/config/i386/linux64.mh | 2 +-
gdb/doc/gdb.texinfo | 51 +++
gdb/gdbarch.c | 32 ++
gdb/gdbarch.h | 11 +
gdb/gdbarch.sh | 6 +
gdb/gdbserver/Makefile.in | 3 +
gdb/gdbserver/configure.srv | 4 +-
gdb/gdbserver/linux-x86-low.c | 423 +----------------
gdb/i386-linux-tdep.c | 53 +++
gdb/i386-linux-tdep.h | 8 +
gdb/i386-tdep.c | 4 +-
gdb/i386-tdep.h | 2 +
gdb/infrun.c | 34 ++
gdb/linux-tdep.c | 34 +-
gdb/linux-tdep.h | 14 +
gdb/nat/amd64-linux-siginfo.c | 574 ++++++++++++++++++++++++
gdb/nat/amd64-linux-siginfo.h | 56 +++
gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c | 120 +++++
gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp | 86 ++++
gdb/testsuite/gdb.arch/i386-mpx-simple_segv.c | 66 +++
gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp | 129 ++++++
25 files changed, 1316 insertions(+), 852 deletions(-)
create mode 100644 gdb/nat/amd64-linux-siginfo.c
create mode 100644 gdb/nat/amd64-linux-siginfo.h
create mode 100644 gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c
create mode 100644 gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp
create mode 100644 gdb/testsuite/gdb.arch/i386-mpx-simple_segv.c
create mode 100644 gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp
--
2.1.4
next reply other threads:[~2016-01-21 14:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 14:48 Walfred Tedeschi [this message]
2016-01-21 14:48 ` [PATCH V4 3/6] Use linux_get_siginfo_type_with_fields for x86 Walfred Tedeschi
2016-01-21 14:49 ` [PATCH V4 4/6] Add bound related fields to the siginfo structure Walfred Tedeschi
2016-01-21 14:49 ` [PATCH V4 5/6] Adaptation of siginfo fixup for the new bnd fields Walfred Tedeschi
2016-01-21 14:49 ` [PATCH V4 6/6] Intel MPX bound violation handling Walfred Tedeschi
2016-01-21 16:23 ` Eli Zaretskii
[not found] ` <AC542571535E904D8E8ADAE745D60B194452CD61@IRSMSX104.ger.corp.intel.com>
2016-01-21 17:34 ` FW: " Walfred Tedeschi
2016-01-21 17:51 ` Eli Zaretskii
2016-01-21 18:06 ` Pedro Alves
2016-01-21 18:22 ` Eli Zaretskii
2016-01-22 8:38 ` Walfred Tedeschi
2016-01-21 14:49 ` [PATCH V4 2/6] Prepararion for new siginfo on Linux Walfred Tedeschi
2016-01-21 15:05 ` Pedro Alves
2016-01-21 14:49 ` [PATCH V4 1/6] Merge gdb and gdbserver implementations for siginfo Walfred Tedeschi
2016-01-21 15:05 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1453387705-6597-1-git-send-email-walfred.tedeschi@intel.com \
--to=walfred.tedeschi@intel.com \
--cc=brobecker@adacore.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox