diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-05-31 13:33:04 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-05-31 13:33:04 +0100 |
commit | 95228a0d790f16deae3436e18f41b70fc711a5b2 (patch) | |
tree | f0634e4d78a8efaa75d9cfbc721f761f0996ee1f /gdb/aarch64-linux-tdep.c | |
parent | 22467434fdc240e7c166f77f371909a8a07fc358 (diff) | |
download | fsf-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-tdep.c')
-rw-r--r-- | gdb/aarch64-linux-tdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c index eccefd9..96dc8a1 100644 --- a/gdb/aarch64-linux-tdep.c +++ b/gdb/aarch64-linux-tdep.c @@ -233,7 +233,8 @@ aarch64_linux_iterate_over_regset_sections (struct gdbarch *gdbarch, NULL, cb_data); } -/* Implement the "core_read_description" gdbarch method. */ +/* Implement the "core_read_description" gdbarch method. SVE not yet + supported. */ static const struct target_desc * aarch64_linux_core_read_description (struct gdbarch *gdbarch, @@ -244,7 +245,7 @@ aarch64_linux_core_read_description (struct gdbarch *gdbarch, if (target_auxv_search (target, AT_HWCAP, &aarch64_hwcap) != 1) return NULL; - return aarch64_read_description (); + return aarch64_read_description (0); } /* Implementation of `gdbarch_stap_is_single_operand', as defined in |