aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorSchimpe, Christina <christina.schimpe@intel.com>2024-03-05 15:14:53 +0000
committerSchimpe, Christina <christina.schimpe@intel.com>2024-03-12 13:54:29 +0000
commit7650ea38908e98a5823a334286813eca2ff5719e (patch)
tree3a5d9c8ca004b3983f0abaa04b4921916a0c9709 /gdb/doc
parent272acb42cfc4e64af4f702f24fbc1de078372c38 (diff)
downloadgdb-7650ea38908e98a5823a334286813eca2ff5719e.zip
gdb-7650ea38908e98a5823a334286813eca2ff5719e.tar.gz
gdb-7650ea38908e98a5823a334286813eca2ff5719e.tar.bz2
gdb: Deprecate MPX commands.
This patch deprecates the MPX commands "show/set mpx bound". Intel listed Intel(R) Memory Protection Extensions (MPX) as removed in 2019. Following gcc v9.1, the linux kernel v5.6 and glibc v2.35, deprecate MPX in GDB.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdb.texinfo3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 34cd567..6099d12 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -26652,6 +26652,9 @@ whose bounds are to be changed, @var{lbound} and @var{ubound} are new values
for lower and upper bounds respectively.
@end table
+Both commands are deprecated and will be removed in future versions of
+@value{GDBN}. MPX itself was listed as removed by Intel in 2019.
+
When you call an inferior function on an Intel MPX enabled program,
GDB sets the inferior's bound registers to the init (disabled) state
before calling the function. As a consequence, bounds checks for the