binutils-gdb/gdb/arch
Alan Hayward 39bfb9373c Use uint64_t for SVE VQ
Previously VQ was of type long. Using uint64_t ensures it always matches the
same type as the VG register.
Note that in the Linux kernel, VQ is 16bits. We cast it up to 64bits
immediately after reading to ensure we always use the same type throughout
the code.

gdb/
	* aarch64-tdep.c (aarch64_read_description): Use uint64_t for VQ.
	* aarch64-tdep.h (aarch64_read_description): Likewise.
	* arch/aarch64.c (aarch64_create_target_description): Likewise.
	* arch/aarch64.h (aarch64_create_target_description): Likewise.
	* features/aarch64-sve.c (create_feature_aarch64_sve): Likewise.
	* nat/aarch64-sve-linux-ptrace.c(aarch64_sve_get_vq): Likewise.
	* nat/aarch64-sve-linux-ptrace.h (aarch64_sve_get_vq): Likewise.
2018-06-04 10:50:59 +01:00
..
aarch64-insn.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
aarch64-insn.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
aarch64.c Use uint64_t for SVE VQ 2018-06-04 10:50:59 +01:00
aarch64.h Use uint64_t for SVE VQ 2018-06-04 10:50:59 +01:00
amd64.c Add "common-defs.h" include to files in arch/ subdir not yet including it. 2018-02-21 11:03:41 -08:00
amd64.h Move arch/tdesc.h to common/tdesc.h 2018-02-26 11:46:57 +00:00
arm-get-next-pcs.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
arm-get-next-pcs.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
arm-linux.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
arm-linux.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
arm.c Fix "fall through" comments 2018-05-04 22:04:46 -06:00
arm.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
i386.c Move arch/tdesc.h to common/tdesc.h 2018-02-26 11:46:57 +00:00
i386.h Move arch/tdesc.h to common/tdesc.h 2018-02-26 11:46:57 +00:00
ppc-linux-common.c [PowerPC] Recognize isa205 in linux core files 2018-05-22 11:52:03 -03:00
ppc-linux-common.h [PowerPC] Recognize isa205 in linux core files 2018-05-22 11:52:03 -03:00
ppc-linux-tdesc.h [PowerPC] Consolidate linux target description selection 2018-05-22 11:52:02 -03:00
tic6x.c Move arch/tdesc.h to common/tdesc.h 2018-02-26 11:46:57 +00:00
tic6x.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
xtensa.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00