From 16d8013cf7bfe6df320bdd167cd357879e4888e4 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 19 Jan 2015 08:51:05 +0100 Subject: [PATCH] Fix ARI warning in rs6000-tdep.c::rs6000_gdbarch_init. gdb/ChangeLog: * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator from end of line to start of next line. --- gdb/ChangeLog | 5 +++++ gdb/rs6000-tdep.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d4008e9c497..b9f48573180 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-01-19 Joel Brobecker + + * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator + from end of line to start of next line. + 2015-01-17 Wei-cheng Wang * ppc-linux-tdep.c (ppc_skip_trampoline_code): diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 75811d105c0..6b6fe93f3cf 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -5375,8 +5375,8 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) else { if (info.bfd_arch_info != NULL && info.bfd_arch_info->bits_per_word != 0) - wordsize = info.bfd_arch_info->bits_per_word / - info.bfd_arch_info->bits_per_byte; + wordsize = (info.bfd_arch_info->bits_per_word + / info.bfd_arch_info->bits_per_byte); else wordsize = 4; } -- 2.30.2