aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
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/gdbserver
parent22467434fdc240e7c166f77f371909a8a07fc358 (diff)
downloadgdb-95228a0d790f16deae3436e18f41b70fc711a5b2.zip
gdb-95228a0d790f16deae3436e18f41b70fc711a5b2.tar.gz
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/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/linux-aarch64-tdesc.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 0224818..c61609b 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2018-05-31 Alan Hayward <alan.hayward@arm.com>
+
+ * linux-aarch64-tdesc.c (aarch64_linux_read_description): Add
+ null VQ.
+
2018-05-25 Maciej W. Rozycki <macro@mips.com>
* gdb.arch/mips-fpregset-core.exp: New test.
diff --git a/gdb/gdbserver/linux-aarch64-tdesc.c b/gdb/gdbserver/linux-aarch64-tdesc.c
index f433038..f076179 100644
--- a/gdb/gdbserver/linux-aarch64-tdesc.c
+++ b/gdb/gdbserver/linux-aarch64-tdesc.c
@@ -32,7 +32,8 @@ aarch64_linux_read_description ()
if (*tdesc == NULL)
{
- *tdesc = aarch64_create_target_description ();
+ /* SVE not yet supported. */
+ *tdesc = aarch64_create_target_description (0);
static const char *expedite_regs_aarch64[] = { "x29", "sp", "pc", NULL };
init_target_desc (*tdesc, expedite_regs_aarch64);