[PATCH v5 24/25] Add NEWS entry.

Luis Machado via Gdb-patches
2021-01-27T20:22:05Z

Updates on v4:

- Update command names.

--

Mention the new packets and memory tagging features.

gdb/ChangeLog:

YYYY-MM-DD Luis Machado <luis.machado@linaro.org>

* NEWS: Mention memory tagging changes.
---
gdb/NEWS | 36 ++++++++++++++++++++++++++++++++++--
1 file changed, 34 insertions(+), 2 deletions(-)

diff --git a/gdb/NEWS b/gdb/NEWS
index d2ed28857b..a4e08491ee 100644
--- 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).

@@ -47,6 +62,17 @@ maintenance flush register-cache
maintenance flush dcache
A new command to flush the dcache.

+memory-tag show-logical-tag ADDRESS
+ Print the logical tag for ADDRESS.
+memory-tag with-logical-tag ADDRESS TAG
+ Print ADDRESS 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 ADDRESS
+ Validate that ADDRESS' logical tag matches the allocation tag.
+
* Changed commands

break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
@@ -80,6 +106,14 @@ set style version background COLOR
set style version intensity VALUE
Control the styling of GDB's version number text.

+* 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"
@@ -164,8 +198,6 @@ set style version intensity VALUE
* On Windows targets, it is now possible to debug 32-bit programs with a
64-bit GDB.

-* New commands
-
set exec-file-mismatch -- Set exec-file-mismatch handling (ask|warn|off).
show exec-file-mismatch -- Show exec-file-mismatch handling (ask|warn|off).
Set or show the option 'exec-file-mismatch'. When GDB attaches to a
--
2.25.1