public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH V3 0/6] Intel MPX bound violation support.
@ 2016-01-18  8:25 Walfred Tedeschi
  2016-01-18  8:25 ` [PATCH V3 3/6] Use linux_get_siginfo_type_with_fields for x86 Walfred Tedeschi
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Walfred Tedeschi @ 2016-01-18  8:25 UTC (permalink / raw)
  To: palves, eliz, brobecker; +Cc: gdb-patches, Walfred Tedeschi

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
and usage.

Bound violation information can be seen in the last commit of
the series.


Pedro,

Thanks for your patch that has fixed evaluations while stopping,
but still not stopped.  That has solved the issue also here
while evaluating the siginfo.


Best regards,
-Fred



Walfred Tedeschi (6):
  Merges gdb and gdbserver implementation 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/amd64-linux-nat.c                           | 431 +-----------------
 gdb/amd64-linux-tdep.c                          |   5 +
 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                           |  54 +++
 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                                |  15 +
 gdb/nat/amd64-linux-siginfo.c                   | 570 ++++++++++++++++++++++++
 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 ++++++
 24 files changed, 1300 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-01-20 18:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-18  8:25 [PATCH V3 0/6] Intel MPX bound violation support Walfred Tedeschi
2016-01-18  8:25 ` [PATCH V3 3/6] Use linux_get_siginfo_type_with_fields for x86 Walfred Tedeschi
2016-01-20 18:57   ` Pedro Alves
2016-01-18  8:25 ` [PATCH V3 2/6] Prepararion for new siginfo on Linux Walfred Tedeschi
2016-01-20 18:56   ` Pedro Alves
2016-01-18  8:26 ` [PATCH V3 1/6] Merges gdb and gdbserver implementation for siginfo Walfred Tedeschi
2016-01-20 15:42   ` Pedro Alves
2016-01-18  8:26 ` [PATCH V3 6/6] Intel MPX bound violation handling Walfred Tedeschi
2016-01-18  8:26 ` [PATCH V3 5/6] Adaptation of siginfo fixup for the new bnd fields Walfred Tedeschi
2016-01-18  8:26 ` [PATCH V3 4/6] Add bound related fields to the siginfo structure Walfred Tedeschi
2016-01-20 18:57   ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).