aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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