Add NEWS entry.
authorLuis Machado <luis.machado@linaro.org>
Mon, 15 Jun 2020 18:54:00 +0000 (15:54 -0300)
committerLuis Machado <luis.machado@linaro.org>
Wed, 24 Mar 2021 18:09:57 +0000 (15:09 -0300)
Mention the new packets and memory tagging features.

gdb/ChangeLog:

2021-03-24  Luis Machado  <luis.machado@linaro.org>

* NEWS: Mention memory tagging changes.

gdb/ChangeLog
gdb/NEWS

index 5d7069a7223f375f6791574193f8ade118b847c9..aa74cb9a73d30e16313d86b842819fc8204e454b 100644 (file)
@@ -1,3 +1,7 @@
+2021-03-24  Luis Machado  <luis.machado@linaro.org>
+
+       * NEWS: Mention memory tagging changes.
+
 2021-03-24  Luis Machado  <luis.machado@linaro.org>
 
        * printcmd.c (decode_format): Handle the 'm' modifier.
index 7f5a745d0c091b3d9c7a2be657d41bcc4de3759a..6cf76a14317427cb8da30d6b94bcc33930f00cbf 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,21 @@
 
 *** Changes since GDB 10
 
+* GDB now supports general memory tagging functionality if the underlying
+  architecture supports the proper primitives and hooks.  Currently this is
+  enabled only for AArch64 MTE.
+
+  This includes:
+
+  - Additional information when the inferior crashes with a SIGSEGV caused by
+    a memory tag violation.
+
+  - A new modifier 'm' for the "x" command, which displays allocation tags for a
+    particular memory range.
+
+  - Display of memory tag mismatches by "print", for addresses and
+    pointers, if memory tagging is supported by the architecture.
+
 * Building GDB now requires GMP (The GNU Multiple Precision Arithmetic
   Library).
 
@@ -39,6 +54,12 @@ set debug event-loop
 show debug event-loop
   Control the display of debug output about GDB's event loop.
 
+set print memory-tag-violations
+show print memory-tag-violations
+  Control whether to display additional information about memory tag violations
+  when printing pointers and addresses.  Architecture support for memory
+  tagging is required for this option to have an effect.
+
 maintenance flush symbol-cache
 maintenance flush register-cache
   These new commands are equivalent to the already existing commands
@@ -50,6 +71,17 @@ maintenance flush dcache
 maintenance info target-sections
   Print GDB's internal target sections table.
 
+memory-tag show-logical-tag POINTER
+  Print the logical tag for POINTER.
+memory-tag with-logical-tag POINTER TAG
+  Print POINTER with logical tag TAG.
+memory-tag show-allocation-tag ADDRESS
+  Print the allocation tag for ADDRESS.
+memory-tag set-allocation-tag ADDRESS LENGTH TAGS
+  Set the allocation tag for [ADDRESS, ADDRESS + LENGTH) to TAGS.
+memory-tag check POINTER
+  Validate that POINTER's logical tag matches the allocation tag.
+
 * Changed commands
 
 break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
@@ -98,6 +130,14 @@ maintenance info sections
 
 ARM Symbian                    arm*-*-symbianelf*
 
+* New remote packets
+
+qMemTags
+  Request the remote to send allocation tags for a particular memory range.
+QMemTags
+  Request the remote to store the specified allocation tags to the requested
+  memory range.
+
 *** Changes in GDB 10
 
 * There are new feature names for ARC targets: "org.gnu.gdb.arc.core"
This page took 0.030585 seconds and 4 git commands to generate.