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/arch/amd64.c | |
parent | ee06c79b0fefd5e4ed5e7a1171dc3440130e41da (diff) | |
download | gdb-fc14343205d3a68db1fc139e4af9796be208fab4.zip gdb-fc14343205d3a68db1fc139e4af9796be208fab4.tar.gz gdb-fc14343205d3a68db1fc139e4af9796be208fab4.tar.bz2 |
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/arch/amd64.c')
-rw-r--r-- | gdb/arch/amd64.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/arch/amd64.c b/gdb/arch/amd64.c index 94d55d7..548b32f 100644 --- a/gdb/arch/amd64.c +++ b/gdb/arch/amd64.c @@ -23,7 +23,6 @@ #include "../features/i386/64bit-avx512.c" #include "../features/i386/64bit-core.c" #include "../features/i386/64bit-linux.c" -#include "../features/i386/64bit-mpx.c" #include "../features/i386/64bit-segments.c" #include "../features/i386/64bit-sse.c" #include "../features/i386/pkeys.c" @@ -65,13 +64,6 @@ amd64_create_target_description (uint64_t xcr0, bool is_x32, bool is_linux, if (xcr0 & X86_XSTATE_AVX) regnum = create_feature_i386_64bit_avx (tdesc.get (), regnum); - if (xcr0 & X86_XSTATE_MPX) - { - /* MPX is not available on x32. */ - gdb_assert (!is_x32); - regnum = create_feature_i386_64bit_mpx (tdesc.get (), regnum); - } - if (xcr0 & X86_XSTATE_AVX512) regnum = create_feature_i386_64bit_avx512 (tdesc.get (), regnum); |