Parse SVE registers in aarch64 core file reading/writing
authorAlan Hayward <alan.hayward@arm.com>
Mon, 13 Aug 2018 10:02:22 +0000 (11:02 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Mon, 13 Aug 2018 10:02:22 +0000 (11:02 +0100)
commit0c76e06d5cc83a42ec05a377c3b3c211c8e85151
treede2881232ea207f2029bee3fe53de9d022b58efa
parentb7fd65b9dc0a9f132fba362493ec21dadc2994d7
Parse SVE registers in aarch64 core file reading/writing

sve_regmap cannot be global static as the size is dependant on the current
vector length.

gdb/
* aarch64-linux-tdep.c (aarch64_linux_supply_sve_regset): New function.
(aarch64_linux_collect_sve_regset): Likewise.
(aarch64_linux_iterate_over_regset_sections): Check for SVE.
* regcache.h (regcache_map_entry_size): New function.
gdb/ChangeLog
gdb/aarch64-linux-tdep.c
gdb/regcache.h