aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2012-06-06 21:27:37 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2012-06-06 21:27:37 +0000
commiteaa05d599ebfeb571fa3f40cb2c753060554efb0 (patch)
tree983eab7468a3ff12908e2fb5c6e79b380ce5fbc8
parentde13fcf2f449be5ecddb22b8e0893431a83ada6d (diff)
downloadgdb-eaa05d599ebfeb571fa3f40cb2c753060554efb0.zip
gdb-eaa05d599ebfeb571fa3f40cb2c753060554efb0.tar.gz
gdb-eaa05d599ebfeb571fa3f40cb2c753060554efb0.tar.bz2
* mips-tdep.c (mips_convert_register_p): Correct coding style.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/mips-tdep.c4
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 <macro@codesourcery.com>
+ * mips-tdep.c (mips_convert_register_p): Correct coding style.
+
+2012-06-06 Maciej W. Rozycki <macro@codesourcery.com>
+
* 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