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/x86-linux-tdesc-features.c | |
parent | ee06c79b0fefd5e4ed5e7a1171dc3440130e41da (diff) | |
download | binutils-fc14343205d3a68db1fc139e4af9796be208fab4.zip binutils-fc14343205d3a68db1fc139e4af9796be208fab4.tar.gz binutils-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/x86-linux-tdesc-features.c')
-rw-r--r-- | gdb/arch/x86-linux-tdesc-features.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/arch/x86-linux-tdesc-features.c b/gdb/arch/x86-linux-tdesc-features.c index ad1d919..f6eb112 100644 --- a/gdb/arch/x86-linux-tdesc-features.c +++ b/gdb/arch/x86-linux-tdesc-features.c @@ -65,7 +65,6 @@ static constexpr x86_xstate_feature x86_linux_all_xstate_features[] = { { X86_XSTATE_PKRU, true, true, true }, { X86_XSTATE_AVX512, true, true, true }, { X86_XSTATE_AVX, true, true, true }, - { X86_XSTATE_MPX, true, true, false }, { X86_XSTATE_SSE, true, false, false }, { X86_XSTATE_X87, true, false, false } }; @@ -150,9 +149,9 @@ x86_linux_xcr0_to_tdesc_idx (uint64_t xcr0) the target descriptions (see nat/x86-linux-tdesc.c), the feature order represents the bit order within the generated index number. - i386 | x87 sse mpx avx avx512 pkru - amd64 | mpx avx avx512 pkru - i32 | avx avx512 pkru + i386 | x87 sse avx avx512 pkru + amd64 | avx avx512 pkru + i32 | avx avx512 pkru The features are ordered so that for each mode (i386, amd64, i32) the generated index will form a continuous range. */ |