[binutils-gdb] Function for reading the Aarch64 SVE vector length

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Thu May 31 14:18:00 GMT 2018


*** TEST RESULTS FOR COMMIT 122394f1476b1c925a281b15399119500c8231c1 ***

Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: 122394f1476b1c925a281b15399119500c8231c1

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.



More information about the Gdb-testers mailing list