This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New ARI warning Mon Apr 9 01:57:54 UTC 2012


> Date: Mon, 9 Apr 2012 01:57:55 +0000
> From: GDB Administrator <gdbadmin@sourceware.org>
> 
> 832a833,834
> > gdb/sparc64-tdep.c:788: code: OP eol: Do not use &&, or || at the end of a line
> gdb/sparc64-tdep.c:788:      if (sparc64_structure_or_union_p (type) ||
> > gdb/sparc64-tdep.c:890: code: OP eol: Do not use &&, or || at the end of a line
> gdb/sparc64-tdep.c:890:      if (sparc64_structure_or_union_p (type) ||
> 

Oops, sorry.  Fixed with the diff below.


2012-04-09  Mark Kettenis  <kettenis@gnu.org>

	* sparc64-tdep.c (sparc64_store_arguments) 
	(sparc64_store_arguments): Fix coding style.

Index: sparc64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc64-tdep.c,v
retrieving revision 1.58
diff -u -p -r1.58 sparc64-tdep.c
--- sparc64-tdep.c	8 Apr 2012 05:42:53 -0000	1.58
+++ sparc64-tdep.c	9 Apr 2012 09:14:12 -0000
@@ -785,8 +785,8 @@ sparc64_store_arguments (struct regcache
       struct type *type = value_type (args[i]);
       int len = TYPE_LENGTH (type);
 
-      if (sparc64_structure_or_union_p (type) ||
-	  (sparc64_complex_floating_p (type) && len == 32))
+      if (sparc64_structure_or_union_p (type)
+	  || (sparc64_complex_floating_p (type) && len == 32))
 	{
 	  /* Structure or Union arguments.  */
 	  if (len <= 16)
@@ -887,8 +887,8 @@ sparc64_store_arguments (struct regcache
       int regnum = -1;
       gdb_byte buf[16];
 
-      if (sparc64_structure_or_union_p (type) ||
-	  (sparc64_complex_floating_p (type) && len == 32))
+      if (sparc64_structure_or_union_p (type)
+	  || (sparc64_complex_floating_p (type) && len == 32))
 	{
 	  /* Structure or Union arguments.  */
 	  gdb_assert (len <= 16);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]