[commit] Fix coding style

Mark Kettenis mark.kettenis@xs4all.nl
Wed Aug 23 15:13:00 GMT 2006


Too much OpenBSD kernel hacking for me lately.  Sorry for the noise.

Mark

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>
	* valprint.c (val_print_type_code_flags): Fix GNU coding standards
	violation.

Index: valprint.c
===================================================================
RCS file: /cvs/src/src/gdb/valprint.c,v
retrieving revision 1.61
diff -u -p -r1.61 valprint.c
--- valprint.c 22 Aug 2006 20:32:39 -0000 1.61
+++ valprint.c 22 Aug 2006 21:35:05 -0000
@@ -347,8 +347,8 @@ val_print_type_code_flags (struct type *
   fputs_filtered ("[ ", stream);
   for (bitpos = 0; bitpos < nfields; bitpos++)
     {
-      if (TYPE_FIELD_BITPOS (type, bitpos) != -1 &&
-	  (val & ((ULONGEST)1 << bitpos)))
+      if (TYPE_FIELD_BITPOS (type, bitpos) != -1
+	  && (val & ((ULONGEST)1 << bitpos)))
 	{
 	  if (TYPE_FIELD_NAME (type, bitpos))
 	    fprintf_filtered (stream, "%s ", TYPE_FIELD_NAME (type, bitpos));



More information about the Gdb-patches mailing list