aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@linaro.org>2020-06-15 15:54:00 -0300
committerLuis Machado <luis.machado@linaro.org>2020-06-25 13:23:39 -0300
commita2bdbbe1234c00e53823f609ca06f5148bb1da42 (patch)
tree276780fdadc3fb94e623167382293e60b804278e
parent8d8848b10477ff0c569ad25fb507d583146a87ca (diff)
downloadgdb-a2bdbbe1234c00e53823f609ca06f5148bb1da42.zip
gdb-a2bdbbe1234c00e53823f609ca06f5148bb1da42.tar.gz
gdb-a2bdbbe1234c00e53823f609ca06f5148bb1da42.tar.bz2
Add NEWS entry.
Mention the new packets and memory tagging features. gdb/ChangeLog: YYYY-MM-DD Luis Machado <luis.machado@linaro.org> * NEWS: Mention memory tagging changes.
-rw-r--r--gdb/NEWS32
1 files changed, 32 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index a116d62..5d28fe2 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,19 @@
*** Changes since GDB 9
+* 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 will display memory tag mismatches for addresses and
+ pointers, if memory tagging is supported by the architecture.
+
* Help and apropos commands will now show the documentation of a
command only once, even if that command has one or more aliases.
These commands now show the command name, then all of its aliases,
@@ -63,8 +76,27 @@
* 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