]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Enable SVE for GDB
authorAlan Hayward <alan.hayward@arm.com>
Mon, 4 Jun 2018 10:39:41 +0000 (11:39 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Mon, 4 Jun 2018 11:07:26 +0000 (12:07 +0100)
commitba2d2bb24ea593c7fb17f51ef23f122064bb17d7
treee1dbceba0189155252d0eecd789902888fe21498
parent39bfb9373c5cca78948c94174d46891c1a3d3613
Enable SVE for GDB

Enable SVE support for GDB by reading the VQ when creating a
target description.

Also ensurse that SVE is taken into account when creating
the tdep structure, and store the current VQ value directly in tdep.

gdb/
* aarch64-linux-nat.c (aarch64_linux_read_description): Support SVE.
* aarch64-tdep.c (aarch64_get_tdesc_vq): New function.
(aarch64_gdbarch_init): Check for SVE.
* aarch64-tdep.h (gdbarch_tdep::has_sve): New function.
gdb/ChangeLog
gdb/aarch64-linux-nat.c
gdb/aarch64-tdep.c
gdb/aarch64-tdep.h