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.
This commit is contained in:
Jose E. Marchesi 2017-02-07 13:21:54 -08:00
parent 3d044c0c78
commit 1291063dea
2 changed files with 7 additions and 2 deletions

View 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

View 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);