old-cross-binutils/gdb/testsuite/gdb.arch
Walfred Tedeschi 29c1c24429 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".
2015-06-10 09:58:06 +02:00
..
aarch64-atomic-inst.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64-atomic-inst.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64-fp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64-fp.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
alpha-step.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
alpha-step.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
altivec-abi.c
altivec-abi.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
altivec-regs.c
altivec-regs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-byte.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-disp-step.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-disp-step.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-dword.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-inline.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-inline.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-inline.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-param.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-param.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-param.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-paramref.cc Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-paramref.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-paramref.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value.cc Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value.s Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-i386-address.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-i386-address.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-invalid-stack-middle.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-invalid-stack-middle.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-invalid-stack-middle.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-invalid-stack-top.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-invalid-stack-top.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-optimout-repeat.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-optimout-repeat.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-optimout-repeat.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-prologue-xmm.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-prologue-xmm.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-prologue-xmm.s Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-pseudo.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-optional-prefix.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-optional-prefix.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-special-operands.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-three-arg-disp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-three-arg-disp.S Fix for PR tdep/16397: SystemTap SDT probe support for x86 doesn't work with "triplet operands" 2014-02-20 18:49:09 -03:00
amd64-stap-triplet.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-triplet.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-wrong-subexp.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-wrong-subexp.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-cxx.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-cxx1.cc Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-cxx1.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-cxx2.cc Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-cxx2.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-noret.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-noret.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-noret.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-ret.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-ret.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-ret.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-self.c PR symtab/18392 2015-06-01 14:02:34 +02:00
amd64-tailcall-self.exp PR symtab/18392 2015-06-01 14:02:34 +02:00
amd64-tailcall-self.S PR symtab/18392 2015-06-01 14:02:34 +02:00
amd64-word.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-bl-branch-dest.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-bl-branch-dest.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-disp-step.exp [arm] Fix displaced stepping for thumb alu reg instruction 2015-04-10 10:33:01 +01:00
arm-disp-step.S [arm] Fix displaced stepping for thumb alu reg instruction 2015-04-10 10:33:01 +01:00
avr-flash-qualifier.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
avr-flash-qualifier.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cordic.ko.bz2 SEGV in ppc64_elf_get_synthetic_symtab reading a separate debug file 2015-02-26 14:08:01 +01:00
cordic.ko.debug.bz2 SEGV in ppc64_elf_get_synthetic_symtab reading a separate debug file 2015-02-26 14:08:01 +01:00
e500-abi.c
e500-abi.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
e500-prologue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
e500-prologue.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
e500-regs.c
e500-regs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1291.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1291.s Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1431.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1431.s Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1558.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1558.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-avx.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-avx.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-avx512.c Fix MPX and AVX512 tests for path changes. 2015-06-10 09:58:05 +02:00
i386-avx512.exp Fix MPX and AVX512 tests for path changes. 2015-06-10 09:58:05 +02:00
i386-biarch-core.core.bz2 Testsuite patch for: i386: Fix internal error when prstatus in core file is too big 2015-02-21 15:24:20 +01:00
i386-biarch-core.exp Testsuite patch for: i386: Fix internal error when prstatus in core file is too big 2015-02-21 15:24:20 +01:00
i386-bp_permanent.c Remove testsuite compile errors with GCC5. 2015-01-25 18:50:56 +01:00
i386-bp_permanent.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-byte.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-cfi-notcurrent.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-cfi-notcurrent.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-disp-step.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-disp-step.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-dr3-watch.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-dr3-watch.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-float.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-float.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-gnu-cfi-asm.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-gnu-cfi.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-gnu-cfi.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-mpx-map.c Add support for bound table in the Intel MPX context. 2015-06-10 09:58:06 +02:00
i386-mpx-map.exp Add support for bound table in the Intel MPX context. 2015-06-10 09:58:06 +02:00
i386-mpx.c Obvious indentation fixes on test sample and test file for MPX registers. 2015-06-10 09:58:05 +02:00
i386-mpx.exp Obvious indentation fixes on test sample and test file for MPX registers. 2015-06-10 09:58:05 +02:00
i386-permbkpt.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-permbkpt.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-prologue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-prologue.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-pseudo.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-signal.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-signal.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-size-overlap.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-size-overlap.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-size.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-size.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-sse-stack-align.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-sse-stack-align.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-sse-stack-align.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-sse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-sse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-stap-eval-lang-ada.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-stap-eval-lang-ada.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-stap-eval-lang-ada.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-unwind.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-unwind.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-word.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ia64-breakpoint-shadow.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ia64-breakpoint-shadow.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
iwmmxt-regs.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
iwmmxt-regs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
Makefile.in Add AVX512 registers support to GDB and GDBserver. 2014-04-24 16:30:03 +02:00
mips-octeon-bbit.c
mips-octeon-bbit.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-inmain.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-main.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-sin.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-sinfrob.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-sinfrob16.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-sinmain.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-sinmips16.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
pa-nullify.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
pa-nullify.s
pa64-nullify.s
powerpc-aix-prologue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-aix-prologue.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-d128-regs.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-d128-regs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-power.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-power.s Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-prologue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-prologue.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-stackless.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-stackless.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc-dfp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc-dfp.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc-fp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc-fp.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc64-atomic-inst.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc64-atomic-inst.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc64-symtab-cordic.exp SEGV in ppc64_elf_get_synthetic_symtab reading a separate debug file 2015-02-26 14:08:01 +01:00
s390-multiarch.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-multiarch.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-tdbregs.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-tdbregs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-vregs.exp s390-vregs.exp: Avoid compile errors with older GCCs and on 31-bit targets 2015-04-16 13:03:48 +02:00
s390-vregs.S s390-vregs.exp: Avoid compile errors with older GCCs and on 31-bit targets 2015-04-16 13:03:48 +02:00
sparc-sysstep.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sparc-sysstep.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
spu-info.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
spu-info.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
spu-ls.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
spu-ls.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-bx-pc.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-bx-pc.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-prologue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-prologue.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-singlestep.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-singlestep.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb2-it.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb2-it.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
vsx-regs.c
vsx-regs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00