aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.nat
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2018-05-31 14:36:48 +0100
committerAlan Hayward <alan.hayward@arm.com>2018-05-31 14:36:48 +0100
commit122394f1476b1c925a281b15399119500c8231c1 (patch)
treeeeacb0f62658c8cf48d8b300b729090337b837b1 /gdb/configure.nat
parent95228a0d790f16deae3436e18f41b70fc711a5b2 (diff)
downloadgdb-122394f1476b1c925a281b15399119500c8231c1.zip
gdb-122394f1476b1c925a281b15399119500c8231c1.tar.gz
gdb-122394f1476b1c925a281b15399119500c8231c1.tar.bz2
Function for reading the Aarch64 SVE vector length
Returns 0 for systems without SVE support. Note the defines taken from Linux kernel headers in aarch64-sve-linux-ptrace.h. gdb/ * Makefile.in: Add new header. * gdb/arch/aarch64.h (sve_vg_from_vl): New macro. (sve_vl_from_vg): Likewise. (sve_vq_from_vl): Likewise. (sve_vl_from_vq): Likewise. (sve_vq_from_vg): Likewise. (sve_vg_from_vq): Likewise. * configure.nat: Add new c file. * nat/aarch64-sve-linux-ptrace.c: New file. * nat/aarch64-sve-linux-ptrace.h: New file. gdbserver/ * configure.srv: Add new c/h file.
Diffstat (limited to 'gdb/configure.nat')
-rw-r--r--gdb/configure.nat3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure.nat b/gdb/configure.nat
index bcaeaf4..7611266 100644
--- a/gdb/configure.nat
+++ b/gdb/configure.nat
@@ -228,7 +228,8 @@ case ${gdb_host} in
aarch64)
# Host: AArch64 based machine running GNU/Linux
NATDEPFILES="${NATDEPFILES} aarch64-linux-nat.o \
- aarch32-linux-nat.o aarch64-linux-hw-point.o aarch64-linux.o"
+ aarch32-linux-nat.o aarch64-linux-hw-point.o aarch64-linux.o \
+ aarch64-sve-linux-ptrace.o"
;;
arm)
# Host: ARM based machine running GNU/Linux