aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorWalfred Tedeschi <walfred.tedeschi@intel.com>2015-06-09 15:27:02 +0200
committerWalfred Tedeschi <walfred.tedeschi@intel.com>2015-06-10 09:58:06 +0200
commit29c1c24429a099eca297080dba56a8c090e3136a (patch)
treed9f89bc5baef8520972e7ba0a59a3ceeb6580ff8 /gdb/NEWS
parent422d944b03535efba6187bbd9e35e87f73767dd7 (diff)
downloadgdb-29c1c24429a099eca297080dba56a8c090e3136a.zip
gdb-29c1c24429a099eca297080dba56a8c090e3136a.tar.gz
gdb-29c1c24429a099eca297080dba56a8c090e3136a.tar.bz2
Add support for bound table in the Intel MPX context.
Intel(R) Memory protection bound information are located in register to be tested using the MPX new instructions. Since the number of bound registers are limited a table is used to provide storage for bounds during run-time. In order to investigate the contents of the MPX bound table two new commands are added to GDB. "show mpx bound" and "set mpx bound" are used to display and set values on the MPX bound table. 2015-04-20 Walfred Tedeschi <walfred.tedeschi@intel.com> Mircea Gherzan <mircea.gherzan@intel.com> * i386-tdep.c (MPX_BASE_MASK, MPX_BD_MASK, MPX_BT_MASK, MPX_BD_MASK_32, MPX_BT_MASK_32): New macros. (i386_mpx_set_bounds): New function that implements the command "set-mpx-bound". (i386_mpx_enabled) Helper function to test MPX availability. (i386_mpx_bd_base) Helper function to calculate the base directory address. (i386_mpx_get_bt_entry) Helper function to access a bound table entry. (i386_mpx_print_bounds) Effectively display bound information. (_initialize_i386_tdep): Qdd new commands to commands "set mpx" and "show mpx". (_initialize_i386_tdep): Add "bound" to the commands "show mpx" and "set mpx" commands. (mpx_set_cmdlist and mpx_show_cmdlist): list for the new prefixed "set mpx" and "show mpx" commands. * NEWS: List new commands for MPX support. testsuite: * gdb.arch/i386-mpx-map.c: New file. * gdb.arch/i386-mpx-map.exp: New File. doc: * gdb.texinfo (i386): Add documentation about "show mpx bound" and "set mpx bound".
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index bbfb55d..11ccd4a 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -90,6 +90,10 @@ tui enable
tui disable
Explicit commands for enabling and disabling tui mode.
+show mpx bound
+set mpx bound on i386 and amd64
+ Support for bound table investigation on Intel(R) MPX enabled applications.
+
* New options
set debug dwarf-die