Prevents build break on aarch64 Suse.
2018-06-22 Alan Hayward <alan.hayward@arm.com>
gdb/
* nat/aarch64-sve-linux-ptrace.h (HAS_SVE_STATE): Use &.
+2018-06-22 Alan Hayward <alan.hayward@arm.com>
+
+ * nat/aarch64-sve-linux-ptrace.h (HAS_SVE_STATE): Use &.
+
2018-06-21 Pedro Alves <palves@redhat.com>
* ada-lang.h (ada_get_task_number): Take a thread_info pointer
/* Indicates whether a SVE ptrace header is followed by SVE registers or a
fpsimd structure. */
-#define HAS_SVE_STATE(header) ((header).flags && SVE_PT_REGS_SVE)
+#define HAS_SVE_STATE(header) ((header).flags & SVE_PT_REGS_SVE)
/* Read VQ for the given tid using ptrace. If SVE is not supported then zero
is returned (on a system that supports SVE, then VQ cannot be zero). */