From 1291063deab60b735429411b29eea9d7fd68d50e Mon Sep 17 00:00:00 2001 From: "Jose E. Marchesi" Date: Tue, 7 Feb 2017 13:21:54 -0800 Subject: [PATCH] gdb: fix ARI warning in sparc-tdep.c gdb/ChangeLog: 2017-02-07 Jose E. Marchesi * sparc-tdep.c (sparc32_gdbarch_init): Do not place a + operator at the end of the line. --- gdb/ChangeLog | 5 +++++ gdb/sparc-tdep.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5751ee75f7e..71ea08d9383 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-02-07 Jose E. Marchesi + + * 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 * NEWS: Mention support for record/replay of Intel 64 rdrand and diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index afbcf2e48f2..b605da7cbaf 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); -- 2.30.2