diff options
author | Schimpe, Christina <christina.schimpe@intel.com> | 2024-03-06 11:22:49 +0000 |
---|---|---|
committer | Schimpe, Christina <christina.schimpe@intel.com> | 2024-09-25 11:06:57 +0000 |
commit | fc14343205d3a68db1fc139e4af9796be208fab4 (patch) | |
tree | c13cb1c8c2e826556e5a1a0352a87c53f20ea8d1 /gdb/features/i386/32bit-mpx.xml | |
parent | gdb, testsuite, python: Add missing imports. (diff) | |
download | binutils-gdb-fc14343205d3a68db1fc139e4af9796be208fab4.tar.gz binutils-gdb-fc14343205d3a68db1fc139e4af9796be208fab4.tar.bz2 binutils-gdb-fc14343205d3a68db1fc139e4af9796be208fab4.zip |
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>
Diffstat (limited to 'gdb/features/i386/32bit-mpx.xml')
-rw-r--r-- | gdb/features/i386/32bit-mpx.xml | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/gdb/features/i386/32bit-mpx.xml b/gdb/features/i386/32bit-mpx.xml deleted file mode 100644 index 81eb2eede37..00000000000 --- a/gdb/features/i386/32bit-mpx.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0"?> -<!-- Copyright (C) 2013-2024 Free Software Foundation, Inc. - - Copying and distribution of this file, with or without modification, - are permitted in any medium without royalty provided the copyright - notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-target.dtd"> -<feature name="org.gnu.gdb.i386.mpx"> - <struct id="br128"> - <field name="lbound" type="uint64"/> - <field name="ubound_raw" type="uint64"/> - </struct> - - <struct id="_bndstatus" size="8"> - <field name="bde" start="2" end="31"/> - <field name="error" start="0" end="1"/> - </struct> - - <union id="status"> - <field name="raw" type="data_ptr"/> - <field name="status" type="_bndstatus"/> - </union> - - <struct id="_bndcfgu" size="8"> - <field name="base" start="12" end="31" /> - <field name="reserved" start="2" end="11"/> - <!-- Explicitly set the type here, otherwise it defaults to bool. - Perhaps this should be uint32, but the container type has size 8. --> - <field name="preserved" start="1" end="1" type="uint64"/> - <field name="enabled" start="0" end="0" type="uint64"/> - </struct> - - <union id="cfgu"> - <field name="raw" type="data_ptr"/> - <field name="config" type="_bndcfgu"/> - </union> - - <reg name="bnd0raw" bitsize="128" type="br128"/> - <reg name="bnd1raw" bitsize="128" type="br128"/> - <reg name="bnd2raw" bitsize="128" type="br128"/> - <reg name="bnd3raw" bitsize="128" type="br128"/> - <reg name="bndcfgu" bitsize="64" type="cfgu"/> - <reg name="bndstatus" bitsize="64" type="status"/> -</feature> |