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.
This commit is contained in:
parent
c039f17c35
commit
16d8013cf7
2 changed files with 7 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue