* mips-tdep.c (mips_n32n64_return_value): Fix coding style.
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 23 Apr 2012 16:00:19 +0000 (16:00 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Mon, 23 Apr 2012 16:00:19 +0000 (16:00 +0000)
(mips_o32_return_value): Likewise.
(mips_o64_return_value): Likewise.

gdb/ChangeLog
gdb/mips-tdep.c

index 9903f0c248cff189b156ffdfba5ac590357d432f..032a6d8431f2198d6afc532ef9111e99024c4885 100644 (file)
@@ -1,3 +1,9 @@
+2012-04-23  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_n32n64_return_value): Fix coding style.
+       (mips_o32_return_value): Likewise.
+       (mips_o64_return_value): Likewise.
+
 2012-04-21  Paul Hilfinger  <hilfinger@adacore.com>
 
        * ada-lang.c (ada_evaluate_subexp): Add cases for
index bd344b5a414127744223d586824d33736fe17d4d..74cdb3b615b470c123591c35f560bb3c78819b4c 100644 (file)
@@ -3672,13 +3672,13 @@ mips_n32n64_return_value (struct gdbarch *gdbarch, struct type *func_type,
       if (mips_debug)
        fprintf_unfiltered (gdb_stderr, "Return float in $f0 and $f2\n");
       mips_xfer_register (gdbarch, regcache,
-                         gdbarch_num_regs (gdbarch)
-                         + mips_regnum (gdbarch)->fp0,
+                         (gdbarch_num_regs (gdbarch)
+                          + mips_regnum (gdbarch)->fp0),
                          8, gdbarch_byte_order (gdbarch),
                          readbuf, writebuf, 0);
       mips_xfer_register (gdbarch, regcache,
-                         gdbarch_num_regs (gdbarch)
-                         + mips_regnum (gdbarch)->fp0 + 2,
+                         (gdbarch_num_regs (gdbarch)
+                          + mips_regnum (gdbarch)->fp0 + 2),
                          8, gdbarch_byte_order (gdbarch),
                          readbuf ? readbuf + 8 : readbuf,
                          writebuf ? writebuf + 8 : writebuf, 0);
@@ -3691,8 +3691,8 @@ mips_n32n64_return_value (struct gdbarch *gdbarch, struct type *func_type,
       if (mips_debug)
        fprintf_unfiltered (gdb_stderr, "Return float in $fp0\n");
       mips_xfer_register (gdbarch, regcache,
-                         gdbarch_num_regs (gdbarch)
-                         + mips_regnum (gdbarch)->fp0,
+                         (gdbarch_num_regs (gdbarch)
+                          + mips_regnum (gdbarch)->fp0),
                          TYPE_LENGTH (type),
                          gdbarch_byte_order (gdbarch),
                          readbuf, writebuf, 0);
@@ -4131,8 +4131,8 @@ mips_o32_return_value (struct gdbarch *gdbarch, struct type *func_type,
       if (mips_debug)
        fprintf_unfiltered (gdb_stderr, "Return float in $fp0\n");
       mips_xfer_register (gdbarch, regcache,
-                         gdbarch_num_regs (gdbarch)
-                           + mips_regnum (gdbarch)->fp0,
+                         (gdbarch_num_regs (gdbarch)
+                          + mips_regnum (gdbarch)->fp0),
                          TYPE_LENGTH (type),
                          gdbarch_byte_order (gdbarch),
                          readbuf, writebuf, 0);
@@ -4150,25 +4150,25 @@ mips_o32_return_value (struct gdbarch *gdbarch, struct type *func_type,
        {
        case BFD_ENDIAN_LITTLE:
          mips_xfer_register (gdbarch, regcache,
-                             gdbarch_num_regs (gdbarch)
-                               + mips_regnum (gdbarch)->fp0 +
-                             0, 4, gdbarch_byte_order (gdbarch),
+                             (gdbarch_num_regs (gdbarch)
+                              + mips_regnum (gdbarch)->fp0 + 0),
+                             4, gdbarch_byte_order (gdbarch),
                              readbuf, writebuf, 0);
          mips_xfer_register (gdbarch, regcache,
-                             gdbarch_num_regs (gdbarch)
-                               + mips_regnum (gdbarch)->fp0 + 1,
+                             (gdbarch_num_regs (gdbarch)
+                              + mips_regnum (gdbarch)->fp0 + 1),
                              4, gdbarch_byte_order (gdbarch),
                              readbuf, writebuf, 4);
          break;
        case BFD_ENDIAN_BIG:
          mips_xfer_register (gdbarch, regcache,
-                             gdbarch_num_regs (gdbarch)
-                               + mips_regnum (gdbarch)->fp0 + 1,
+                             (gdbarch_num_regs (gdbarch)
+                              + mips_regnum (gdbarch)->fp0 + 1),
                              4, gdbarch_byte_order (gdbarch),
                              readbuf, writebuf, 0);
          mips_xfer_register (gdbarch, regcache,
-                             gdbarch_num_regs (gdbarch)
-                               + mips_regnum (gdbarch)->fp0 + 0,
+                             (gdbarch_num_regs (gdbarch)
+                              + mips_regnum (gdbarch)->fp0 + 0),
                              4, gdbarch_byte_order (gdbarch),
                              readbuf, writebuf, 4);
          break;
@@ -4538,8 +4538,8 @@ mips_o64_return_value (struct gdbarch *gdbarch, struct type *func_type,
       if (mips_debug)
        fprintf_unfiltered (gdb_stderr, "Return float in $fp0\n");
       mips_xfer_register (gdbarch, regcache,
-                         gdbarch_num_regs (gdbarch)
-                           + mips_regnum (gdbarch)->fp0,
+                         (gdbarch_num_regs (gdbarch)
+                          + mips_regnum (gdbarch)->fp0),
                          TYPE_LENGTH (type),
                          gdbarch_byte_order (gdbarch),
                          readbuf, writebuf, 0);