Add NEWS entry.

Mention the new packets and memory tagging features.

gdb/ChangeLog:

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

	* NEWS: Mention memory tagging changes.
This commit is contained in:
Luis Machado 2020-06-15 15:54:00 -03:00
parent a668276c18
commit ce19233864
2 changed files with 44 additions and 0 deletions

View 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.

View File

@ -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"