gdb: fix ARI warning in sparc-tdep.c
authorJose E. Marchesi <jose.marchesi@oracle.com>
Tue, 7 Feb 2017 21:21:54 +0000 (13:21 -0800)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Tue, 7 Feb 2017 21:21:54 +0000 (13:21 -0800)
gdb/ChangeLog:

2017-02-07  Jose E. Marchesi  <jose.marchesi@oracle.com>

* sparc-tdep.c (sparc32_gdbarch_init): Do not place a + operator
at the end of the line.

gdb/ChangeLog
gdb/sparc-tdep.c

index 5751ee75f7e4c05d5c6a6fa9faa2adcc7abc99b1..71ea08d938323b2be2617b4284f90ed76daf19ee 100644 (file)
@@ -1,3 +1,8 @@
+2017-02-07  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * sparc-tdep.c (sparc32_gdbarch_init): Do not place a + operator
+       at the end of the line.  Avoids an ARI warning.
+
 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
 
        * NEWS: Mention support for record/replay of Intel 64 rdrand and
index afbcf2e48f23bc0a0643e4defce5906d3f7ed98e..b605da7cbaf7d0d5db7b74731905a4fef86842aa 100644 (file)
@@ -1825,8 +1825,8 @@ sparc32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
                                            "org.gnu.gdb.sparc.cp0",
                                            tdep->cp0_register_names,
                                            tdep->cp0_registers_num,
-                                           SPARC_F0_REGNUM + 
-                                           tdep->fpu_registers_num);
+                                           SPARC_F0_REGNUM
+                                           tdep->fpu_registers_num);
       if (!valid_p)
         {
           tdesc_data_cleanup (tdesc_data);