diff options
author | Gustavo Romero <gustavo.romero@linaro.org> | 2024-07-30 14:39:36 +0000 |
---|---|---|
committer | Luis Machado <luis.machado@arm.com> | 2024-08-01 10:01:39 +0100 |
commit | b782c65ba1103270d0e5097b655489ec08470ca9 (patch) | |
tree | 4eec2e8427b4535b63f33ffbd42eeb8afa3676d6 /gdb/NEWS | |
parent | 1d4ed5907570ef4901f2bbf383e563dc0854bf15 (diff) | |
download | fsf-binutils-gdb-b782c65ba1103270d0e5097b655489ec08470ca9.zip fsf-binutils-gdb-b782c65ba1103270d0e5097b655489ec08470ca9.tar.gz fsf-binutils-gdb-b782c65ba1103270d0e5097b655489ec08470ca9.tar.bz2 |
gdb: AArch64: Support MTE on baremetal
This commit moves aarch64_linux_memtag_matches_p,
aarch64_linux_set_memtags, aarch64_linux_get_memtag, and
aarch64_linux_memtag_to_string hooks (plus the aarch64_mte_get_atag
function used by them), along with the setting of the memtag granule
size, from aarch64-linux-tdep.c to aarch64-tdep.c, making MTE available
on baremetal targets. Since the aarch64-linux-tdep.c layer inherits
these hooks from aarch64-tdep.c, there is no effective change for
aarch64-linux targets.
Helpers used both by aarch64-tdep.c and by aarch64-linux-tdep.c were
moved from arch/aarch64-mte-linux.{c,h} to new arch/aarch64-mte.{c,h}
files.
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Tested-By: Luis Machado <luis.machado@arm.com>
Approved-By: Luis Machado <luis.machado@arm.com>
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -17,6 +17,9 @@ This may cause breakage when using an incompatible libc, like uclibc or newlib, or an older glibc. +* MTE (Memory Tagging Extension) debugging is now supported on AArch64 baremetal + targets. + *** Changes in GDB 15 * The MPX commands "show/set mpx bound" have been deprecated, as Intel |