From 316703b918ffb0c2ad2d6dd237160365a098efaa Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 22 Aug 2006 21:36:05 +0000 Subject: [PATCH] * valprint.c (val_print_type_code_flags): Fix GNU coding standards violation. --- gdb/ChangeLog | 3 +++ gdb/valprint.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e2b012194dc..449ae6439b3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2006-08-22 Mark Kettenis + * valprint.c (val_print_type_code_flags): Fix GNU coding standards + violation. + * alpha-tdep.c (alpha_register_to_value, alpha_value_to_register) (alpha_push_dummy_call, alpha_extract_return_value) (alpha_breakpoint_from_pc, alpha_read_insn) diff --git a/gdb/valprint.c b/gdb/valprint.c index 4f834f2cf18..209414d6755 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -347,8 +347,8 @@ val_print_type_code_flags (struct type *type, const gdb_byte *valaddr, 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)); -- 2.30.2