Blame SOURCES/gdb-rhbz1187581-power8-regs-not-in-8.2-09of15.patch

7cb06c
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
7cb06c
From: Keith Seitz <keiths@redhat.com>
7cb06c
Date: Fri, 11 Jan 2019 17:02:16 -0500
7cb06c
Subject: gdb-rhbz1187581-power8-regs-not-in-8.2-09of15.patch
7cb06c
7cb06c
;; [PowerPC] Refactor have_ initializers in rs6000-tdep.c
7cb06c
;; Pedro Franco de Carvalho, RH BZ 1187581
7cb06c
7cb06c
[PowerPC] Refactor have_ initializers in rs6000-tdep.c
7cb06c
7cb06c
This patch refactors a series of initializers in rs6000_gdbarch_init
7cb06c
for clarity.  The have_fpu initializer is also changed to set the
7cb06c
variable to 0, like the other similar variables.  This doesn't affect
7cb06c
program behavior.
7cb06c
7cb06c
gdb/ChangeLog:
7cb06c
2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
7cb06c
7cb06c
    * rs6000-tdep.c (rs6000_gdbarch_init): Replace line wrapping by a
7cb06c
    second initializer line for the have_* variables.  Initialize
7cb06c
    have_fpu to 0 instead of 1.
7cb06c
7cb06c
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
7cb06c
--- a/gdb/rs6000-tdep.c
7cb06c
+++ b/gdb/rs6000-tdep.c
7cb06c
@@ -5845,8 +5845,8 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
7cb06c
   enum powerpc_long_double_abi long_double_abi = POWERPC_LONG_DOUBLE_AUTO;
7cb06c
   enum powerpc_vector_abi vector_abi = powerpc_vector_abi_global;
7cb06c
   enum powerpc_elf_abi elf_abi = POWERPC_ELF_AUTO;
7cb06c
-  int have_fpu = 1, have_spe = 0, have_mq = 0, have_altivec = 0, have_dfp = 0,
7cb06c
-      have_vsx = 0;
7cb06c
+  int have_fpu = 0, have_spe = 0, have_mq = 0, have_altivec = 0;
7cb06c
+  int have_dfp = 0, have_vsx = 0;
7cb06c
   int tdesc_wordsize = -1;
7cb06c
   const struct target_desc *tdesc = info.target_desc;
7cb06c
   struct tdesc_arch_data *tdesc_data = NULL;