aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2015-01-19 08:51:05 +0100
committerJoel Brobecker <brobecker@adacore.com>2015-01-19 08:54:02 +0100
commit16d8013cf7bfe6df320bdd167cd357879e4888e4 (patch)
tree53461674eafac7e4754072e6701f0056ebb35106 /gdb/rs6000-tdep.c
parentc039f17c354e55a2b6d6a88330a9be25260ab034 (diff)
downloadgdb-16d8013cf7bfe6df320bdd167cd357879e4888e4.zip
gdb-16d8013cf7bfe6df320bdd167cd357879e4888e4.tar.gz
gdb-16d8013cf7bfe6df320bdd167cd357879e4888e4.tar.bz2
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.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 75811d1..6b6fe93 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;
}