]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix tag_ctl register size in the core file.
authorLuis Machado <luis.machado@linaro.org>
Wed, 23 Jun 2021 17:27:14 +0000 (14:27 -0300)
committerLuis Machado <luis.machado@linaro.org>
Mon, 28 Jun 2021 18:19:10 +0000 (15:19 -0300)
commit0a3b55a669ecde094afde207ba57ce478f9e1f6b
tree1b52962f9c41b40fcb0f848fdcc20d4ec2f0f234
parentb447dd03c16d51c7b41c9af0756fc9db4ad95f0d
Fix tag_ctl register size in the core file.

This register should be 64 bits in size, but the current code only saves
32 bits. This is due to an early assumption that tag_ctl would be 32 bits
in size.

gdb/ChangeLog:

2021-06-28  Luis Machado  <luis.machado@linaro.org>

* aarch64-linux-tdep.c
(aarch64_linux_iterate_over_regset_sections): Update tag_ctl register
size.
* aarch64-linux-tdep.h (AARCH64_LINUX_SIZEOF_MTE_REGSET): Set to
8 and update comments.
gdb/ChangeLog
gdb/aarch64-linux-tdep.c
gdb/aarch64-linux-tdep.h