Fix ARI warning in rs6000-tdep.c::rs6000_gdbarch_init.
authorJoel Brobecker <brobecker@adacore.com>
Mon, 19 Jan 2015 07:51:05 +0000 (08:51 +0100)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 19 Jan 2015 07:54:02 +0000 (08:54 +0100)
gdb/ChangeLog:

        * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
        from end of line to start of next line.

gdb/ChangeLog
gdb/rs6000-tdep.c

index d4008e9c49717ae1db526ff8fb6a8f747895dfd3..b9f485731803ff9b8d05059119bfe720f4fcf6d6 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
+       from end of line to start of next line.
+
 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
 
        * ppc-linux-tdep.c (ppc_skip_trampoline_code):
index 75811d105c03ddbf175058f1645093649185a92b..6b6fe93f3cf6c2f8d8736202b30d3e252c8b71b4 100644 (file)
@@ -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;
     }