diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-06-06 21:27:37 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-06-06 21:27:37 +0000 |
commit | eaa05d599ebfeb571fa3f40cb2c753060554efb0 (patch) | |
tree | 983eab7468a3ff12908e2fb5c6e79b380ce5fbc8 | |
parent | de13fcf2f449be5ecddb22b8e0893431a83ada6d (diff) | |
download | gdb-eaa05d599ebfeb571fa3f40cb2c753060554efb0.zip gdb-eaa05d599ebfeb571fa3f40cb2c753060554efb0.tar.gz gdb-eaa05d599ebfeb571fa3f40cb2c753060554efb0.tar.bz2 |
* mips-tdep.c (mips_convert_register_p): Correct coding style.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <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 |