[PATCH v2 23/24] Add NEWS entry.

Luis Machado via Gdb-patches
2020-10-22T20:02:09Z

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 | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

diff --git a/gdb/NEWS b/gdb/NEWS
index 1789cf3135..f5c54f1e02 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -23,6 +23,19 @@ show debug event-loop

*** Changes in 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.
+
+* The "x" command supports the 'm' modifier to display allocation tags for
+ a particular memory range.
+
+* The "print" command displays memory tag mismatches for addresses and
+ pointers, if memory tagging is supported by the architecture.
+
* There are new feature names for ARC targets: "org.gnu.gdb.arc.core"
and "org.gnu.gdb.arc.aux". The old names are still supported but
must be considered obsolete. They will be deprecated after some
@@ -105,8 +118,27 @@ show debug event-loop
* On Windows targets, it is now possible to debug 32-bit programs with a
64-bit GDB.

+* 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.
+
* New commands

+mtag showltag ADDRESS
+ Show the logical tag for ADDRESS.
+mtag setltag ADDRESS TAG
+ Set the logical tag for ADDRESS to TAG.
+mtag showatag ADDRESS
+ Show the allocation tag for ADDRESS.
+mtag setatag ADDRESS LENGTH TAGS
+ Set the allocation tag for [ADDRESS, ADDRESS + LENGTH) to TAGS.
+mtag check ADDRESS
+ Validate that ADDRESS' logical tag matches the allocation tag.
+
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.17.1