aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2017-02-07 13:21:54 -0800
committerJose E. Marchesi <jose.marchesi@oracle.com>2017-02-07 13:21:54 -0800
commit1291063deab60b735429411b29eea9d7fd68d50e (patch)
treea6b68593473527563c1bcc3b2735b1f0f07a5d3e
parent3d044c0c78c11968b4fe3c5c019523e3177b1710 (diff)
downloadgdb-1291063deab60b735429411b29eea9d7fd68d50e.zip
gdb-1291063deab60b735429411b29eea9d7fd68d50e.tar.gz
gdb-1291063deab60b735429411b29eea9d7fd68d50e.tar.bz2
gdb: fix ARI warning in sparc-tdep.c
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/sparc-tdep.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5751ee7..71ea08d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index afbcf2e..b605da7 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -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);