This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH V5 0/5] Intel MPX bound violation support


Hello all,

Thanks for the review!

First 4 patches are preparation on the siginfo type and
siginfo handling.  Including the addition of new fields
related to the bound violation.

Last patch is the handler for the bound violation itself.

>From V4 to V5:

* GDB and gdbserver siginfo fixup was aproved (not present here)
* Added Pedro's and Eli's feedback for all patches.
* Changed documentation section for bound violations.
* Changed bound violation output.

Thanks Pedro and Eli for the feedback and
sorry for submitting new revision without
adressing the issues.
Feedback e-mails ended up in not expected folder. :(

Sorry again for any inconvenience.


Thanks for the review and regards,
-Fred 


Walfred Tedeschi (5):
  Preparation 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
  ntel MPX bound violation handling

 gdb/NEWS                                        |  15 ++
 gdb/amd64-linux-tdep.c                          |   4 +
 gdb/doc/gdb.texinfo                             |  25 ++
 gdb/gdbarch.c                                   |  32 +++
 gdb/gdbarch.h                                   |  11 +
 gdb/gdbarch.sh                                  |   6 +
 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                                |  16 ++
 gdb/nat/amd64-linux-siginfo.c                   | 312 ++++++++++++++++--------
 gdb/nat/amd64-linux-siginfo.h                   |  16 +-
 gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c       | 120 +++++++++
 gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp     |  88 +++++++
 gdb/testsuite/gdb.arch/i386-mpx-simple_segv.c   |  66 +++++
 gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp | 125 ++++++++++
 19 files changed, 862 insertions(+), 110 deletions(-)
 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]