GNU Binutils with patches for OS216
Révision | a2bdbbe1234c00e53823f609ca06f5148bb1da42 (tree) |
---|---|
l'heure | 2020-06-26 01:23:39 |
Auteur | Luis Machado <luis.machado@lina...> |
Commiter | Luis Machado |
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.
@@ -3,6 +3,19 @@ | ||
3 | 3 | |
4 | 4 | *** Changes since GDB 9 |
5 | 5 | |
6 | +* GDB now supports general memory tagging functionality if the underlying | |
7 | + architecture supports the proper primitives and hooks. Currently this is | |
8 | + enabled only for AArch64 MTE. | |
9 | + | |
10 | + This includes additional information when the inferior crashes with a | |
11 | + SIGSEGV caused by a memory tag violation. | |
12 | + | |
13 | +* The "x" command supports the 'm' modifier to display allocation tags for | |
14 | + a particular memory range. | |
15 | + | |
16 | +* The "print" command will display memory tag mismatches for addresses and | |
17 | + pointers, if memory tagging is supported by the architecture. | |
18 | + | |
6 | 19 | * Help and apropos commands will now show the documentation of a |
7 | 20 | command only once, even if that command has one or more aliases. |
8 | 21 | These commands now show the command name, then all of its aliases, |
@@ -63,8 +76,27 @@ | ||
63 | 76 | * On Windows targets, it is now possible to debug 32-bit programs with a |
64 | 77 | 64-bit GDB. |
65 | 78 | |
79 | +* New remote packets | |
80 | + | |
81 | +qMemTags | |
82 | + Request the remote to send allocation tags for a particular memory range. | |
83 | +QMemTags | |
84 | + Request the remote to store the specified allocation tags to the requested | |
85 | + memory range. | |
86 | + | |
66 | 87 | * New commands |
67 | 88 | |
89 | +mtag showltag ADDRESS | |
90 | + Show the logical tag for ADDRESS. | |
91 | +mtag setltag ADDRESS TAG | |
92 | + Set the logical tag for ADDRESS to TAG. | |
93 | +mtag showatag ADDRESS | |
94 | + Show the allocation tag for ADDRESS. | |
95 | +mtag setatag ADDRESS LENGTH TAGS | |
96 | + Set the allocation tag for [ADDRESS, ADDRESS + LENGTH) to TAGS. | |
97 | +mtag check ADDRESS | |
98 | + Validate that ADDRESS' logical tag matches the allocation tag. | |
99 | + | |
68 | 100 | set exec-file-mismatch -- Set exec-file-mismatch handling (ask|warn|off). |
69 | 101 | show exec-file-mismatch -- Show exec-file-mismatch handling (ask|warn|off). |
70 | 102 | Set or show the option 'exec-file-mismatch'. When GDB attaches to a |