aboutsummaryrefslogtreecommitdiff
path: root/gdb/aarch64-linux-nat.c
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2018-05-31 13:33:04 +0100
committerAlan Hayward <alan.hayward@arm.com>2018-05-31 13:33:04 +0100
commit95228a0d790f16deae3436e18f41b70fc711a5b2 (patch)
treef0634e4d78a8efaa75d9cfbc721f761f0996ee1f /gdb/aarch64-linux-nat.c
parent22467434fdc240e7c166f77f371909a8a07fc358 (diff)
downloadfsf-binutils-gdb-95228a0d790f16deae3436e18f41b70fc711a5b2.zip
fsf-binutils-gdb-95228a0d790f16deae3436e18f41b70fc711a5b2.tar.gz
fsf-binutils-gdb-95228a0d790f16deae3436e18f41b70fc711a5b2.tar.bz2
Add Aarch64 SVE target description
No code uses the new descriptions yet. gdb/ * aarch64-linux-nat.c (aarch64_linux_read_description): Add parmeter zero. * aarch64-linux-tdep.c (aarch64_linux_core_read_description): Likewise. * aarch64-tdep.c (tdesc_aarch64_list): Add. (aarch64_read_description): Use VQ to index tdesc_aarch64_list. (aarch64_gdbarch_init): Add parmeter zero. * aarch64-tdep.h (aarch64_read_description): Add VQ parmeter. * arch/aarch64.c (aarch64_create_target_description): Check VQ. * arch/aarch64.h (aarch64_create_target_description): Add VQ. parmeter. * doc/gdb.texinfo: Describe SVE feature * features/aarch64-sve.c: New file. gdbserver/ * linux-aarch64-tdesc.c (aarch64_linux_read_description): Add null VQ.
Diffstat (limited to 'gdb/aarch64-linux-nat.c')
-rw-r--r--gdb/aarch64-linux-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c
index 950fa0a..94d18c3 100644
--- a/gdb/aarch64-linux-nat.c
+++ b/gdb/aarch64-linux-nat.c
@@ -537,7 +537,8 @@ aarch64_linux_nat_target::read_description ()
if (ret == 0)
return tdesc_arm_with_neon;
else
- return aarch64_read_description ();
+ /* SVE not yet supported. */
+ return aarch64_read_description (0);
}
/* Convert a native/host siginfo object, into/from the siginfo in the