From eaa05d599ebfeb571fa3f40cb2c753060554efb0 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 6 Jun 2012 21:27:37 +0000 Subject: [PATCH] * mips-tdep.c (mips_convert_register_p): Correct coding style. --- gdb/ChangeLog | 4 ++++ gdb/mips-tdep.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e247a95..5f6ddf0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2012-06-06 Maciej W. Rozycki + * mips-tdep.c (mips_convert_register_p): Correct coding style. + +2012-06-06 Maciej W. Rozycki + * mips-tdep.c (mips_pseudo_register_type): Use mips_float_register_p. diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 858e74b..81c3136 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -845,8 +845,8 @@ static int mips_convert_register_p (struct gdbarch *gdbarch, int regnum, struct type *type) { - return mips_convert_register_float_case_p (gdbarch, regnum, type) - || mips_convert_register_gpreg_case_p (gdbarch, regnum, type); + return (mips_convert_register_float_case_p (gdbarch, regnum, type) + || mips_convert_register_gpreg_case_p (gdbarch, regnum, type)); } static int -- 2.7.4