diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-06-11 10:32:52 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-06-11 13:25:15 +0100 |
commit | fefa175e8f518f17121a1870270a415c851cbacc (patch) | |
tree | f00eb06861b69ed98104d91d72f5cb7f8e7dcb34 /gdb/gdbserver/linux-aarch64-ipa.c | |
parent | 5a485b38994ca09481863fa509cff4643552e1ed (diff) | |
download | gdb-fefa175e8f518f17121a1870270a415c851cbacc.zip gdb-fefa175e8f518f17121a1870270a415c851cbacc.tar.gz gdb-fefa175e8f518f17121a1870270a415c851cbacc.tar.bz2 |
Enable Aarch64 SVE for gdbserver
gdbserver/
* linux-aarch64-ipa.c (get_ipa_tdesc): Add null VQ param.
(initialize_low_tracepoint): Likewise
* linux-aarch64-low.c (aarch64_arch_setup): Get VQ.
* linux-aarch64-tdesc-selftest.c (aarch64_tdesc_test): Add null VQ
param.
* linux-aarch64-tdesc.c (aarch64_linux_read_description): Add VQ
checks.
* linux-aarch64-tdesc.h (aarch64_linux_read_description): Add VQ.
Diffstat (limited to 'gdb/gdbserver/linux-aarch64-ipa.c')
-rw-r--r-- | gdb/gdbserver/linux-aarch64-ipa.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/gdbserver/linux-aarch64-ipa.c b/gdb/gdbserver/linux-aarch64-ipa.c index 3095408..efdc051 100644 --- a/gdb/gdbserver/linux-aarch64-ipa.c +++ b/gdb/gdbserver/linux-aarch64-ipa.c @@ -147,12 +147,12 @@ get_raw_reg (const unsigned char *raw_regs, int regnum) /* Return target_desc to use for IPA, given the tdesc index passed by gdbserver. Index is ignored, since we have only one tdesc - at the moment. */ + at the moment. SVE not yet supported. */ const struct target_desc * get_ipa_tdesc (int idx) { - return aarch64_linux_read_description (); + return aarch64_linux_read_description (0); } /* Allocate buffer for the jump pads. The branch instruction has a reach @@ -204,5 +204,6 @@ alloc_jump_pad_buffer (size_t size) void initialize_low_tracepoint (void) { - aarch64_linux_read_description (); + /* SVE not yet supported. */ + aarch64_linux_read_description (0); } |