This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Fix coding style
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Tue, 22 Aug 2006 23:36:08 +0200 (CEST)
- Subject: [commit] Fix coding style
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));