]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb, gdbserver, python, testsuite: Remove MPX.
authorSchimpe, Christina <christina.schimpe@intel.com>
Wed, 6 Mar 2024 11:22:49 +0000 (11:22 +0000)
committerSchimpe, Christina <christina.schimpe@intel.com>
Wed, 25 Sep 2024 11:06:57 +0000 (11:06 +0000)
commitfc14343205d3a68db1fc139e4af9796be208fab4
treec13cb1c8c2e826556e5a1a0352a87c53f20ea8d1
parentee06c79b0fefd5e4ed5e7a1171dc3440130e41da
gdb, gdbserver, python, testsuite: Remove MPX.

GDB deprecated the commands "show/set mpx bound" in GDB 15.1, as Intel
listed Intel(R) Memory Protection Extensions (MPX) as removed in 2019.
MPX is also deprecated in gcc (since v9.1), the linux kernel (since v5.6)
and glibc (since v2.35).  Let's now remove MPX support in GDB completely.

This includes the removal of:
- MPX functionality including register support
- deprecated mpx commands
- i386 and amd64 implementation of the hooks report_signal_info and
  get_siginfo_type
- tests
- and pretty printer.

We keep MPX register numbers to not break compatibility with old gdbservers.

Approved-By: Felix Willgerodt <felix.willgerodt@intel.com>
41 files changed:
gdb/NEWS
gdb/amd64-linux-nat.c
gdb/amd64-linux-tdep.c
gdb/amd64-tdep.c
gdb/amd64-tdep.h
gdb/arch/amd64.c
gdb/arch/i386.c
gdb/arch/x86-linux-tdesc-features.c
gdb/data-directory/Makefile.in
gdb/doc/gdb.texinfo
gdb/features/Makefile
gdb/features/i386/32bit-mpx.c [deleted file]
gdb/features/i386/32bit-mpx.xml [deleted file]
gdb/features/i386/64bit-mpx.c [deleted file]
gdb/features/i386/64bit-mpx.xml [deleted file]
gdb/i386-linux-tdep.c
gdb/i386-linux-tdep.h
gdb/i386-tdep.c
gdb/i386-tdep.h
gdb/i387-tdep.c
gdb/i387-tdep.h
gdb/nat/x86-linux-tdesc.c
gdb/nat/x86-xstate.c
gdb/python/lib/gdb/printer/bound_registers.py [deleted file]
gdb/target-debug.h
gdb/testsuite/gdb.arch/i386-mpx-call.c [deleted file]
gdb/testsuite/gdb.arch/i386-mpx-call.exp [deleted file]
gdb/testsuite/gdb.arch/i386-mpx-map.c [deleted file]
gdb/testsuite/gdb.arch/i386-mpx-map.exp [deleted file]
gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c [deleted file]
gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp [deleted file]
gdb/testsuite/gdb.arch/i386-mpx-simple_segv.c [deleted file]
gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp [deleted file]
gdb/testsuite/gdb.arch/i386-mpx.c [deleted file]
gdb/testsuite/gdb.arch/i386-mpx.exp [deleted file]
gdb/testsuite/gdb.python/py-pp-maint.exp
gdb/testsuite/lib/gdb.exp
gdbserver/i387-fp.cc
gdbserver/linux-x86-low.cc
gdbserver/netbsd-amd64-low.cc
gdbsupport/x86-xstate.h