public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* New ARI warning Sun Jan 18 01:54:19 UTC 2015
@ 2015-01-18  1:54 GDB Administrator
  2015-01-19  8:16 ` [pushed/ob] Fix ARI warning in rs6000-tdep.c::rs6000_gdbarch_init Joel Brobecker
  0 siblings, 1 reply; 2+ messages in thread
From: GDB Administrator @ 2015-01-18  1:54 UTC (permalink / raw)
  To: gdb-patches

616a617
> gdb/rs6000-tdep.c:5378: code: OP eol: Do not use &&, or || at the end of a line
gdb/rs6000-tdep.c:5378:	wordsize = info.bfd_arch_info->bits_per_word /

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pushed/ob] Fix ARI warning in rs6000-tdep.c::rs6000_gdbarch_init.
  2015-01-18  1:54 New ARI warning Sun Jan 18 01:54:19 UTC 2015 GDB Administrator
@ 2015-01-19  8:16 ` Joel Brobecker
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2015-01-19  8:16 UTC (permalink / raw)
  To: gdb-patches

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 d4008e9..b9f4857 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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):
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;
     }
-- 
1.9.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-19  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-18  1:54 New ARI warning Sun Jan 18 01:54:19 UTC 2015 GDB Administrator
2015-01-19  8:16 ` [pushed/ob] Fix ARI warning in rs6000-tdep.c::rs6000_gdbarch_init Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).