mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user