Blame SOURCES/gdb-rhbz1320945-float128-1of9.patch

a094f6
commit 5f3bceb68dd211be977eb61d5f1ea68e7de51b7a
a094f6
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
a094f6
Date:   Tue Sep 6 17:22:51 2016 +0200
a094f6
a094f6
    Fix typo in ada_language_arch_info
a094f6
    
a094f6
    This fixes a bug introduced by a wrong replacement here:
a094f6
    https://sourceware.org/ml/gdb-patches/2007-06/msg00196.html
a094f6
    
a094f6
    The Ada "long_long_float" type is supposed to correspond to the
a094f6
    platform ABI long double type, not double.
a094f6
    
a094f6
    gdb/ChangeLog:
a094f6
    
a094f6
            * ada-lang.c (ada_language_arch_info): Use gdbarch_long_double_bit
a094f6
            instead of gdbarch_double_bit for "long_long_float".
a094f6
    
a094f6
    Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
a094f6
a094f6
### a/gdb/ChangeLog
a094f6
### b/gdb/ChangeLog
a094f6
## -1,3 +1,8 @@
a094f6
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
a094f6
+
a094f6
+	* ada-lang.c (ada_language_arch_info): Use gdbarch_long_double_bit
a094f6
+	instead of gdbarch_double_bit for "long_long_float".
a094f6
+
a094f6
 2016-09-05  Pedro Alves  <palves@redhat.com>
a094f6
 
a094f6
 	* NEWS: Mention that a C++ compiler is now required.
a094f6
--- a/gdb/ada-lang.c
a094f6
+++ b/gdb/ada-lang.c
a094f6
@@ -14012,7 +14012,7 @@ ada_language_arch_info (struct gdbarch *gdbarch,
a094f6
     = arch_integer_type (gdbarch, gdbarch_long_long_bit (gdbarch),
a094f6
 			 0, "long_long_integer");
a094f6
   lai->primitive_type_vector [ada_primitive_type_long_double]
a094f6
-    = arch_float_type (gdbarch, gdbarch_double_bit (gdbarch),
a094f6
+    = arch_float_type (gdbarch, gdbarch_long_double_bit (gdbarch),
a094f6
 		       "long_long_float", NULL);
a094f6
   lai->primitive_type_vector [ada_primitive_type_natural]
a094f6
     = arch_integer_type (gdbarch, gdbarch_int_bit (gdbarch),