* config/mips/tm-mips.h (STABS_REG_TO_REGNUM): Match it with the gcc
authorPeter Schauer <Peter.Schauer@mytum.de>
Sat, 1 May 1993 09:55:01 +0000 (09:55 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Sat, 1 May 1993 09:55:01 +0000 (09:55 +0000)
definition.
* config/mips/tm-irix3.h (STABS_REG_TO_REGNUM): Add.
* irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.

gdb/ChangeLog
gdb/irix4-nat.c

index 34be1a90dc9c2f9a47e3e5fce37c9dca7c5035bb..a5a6924d796d1ab7c8baa72c38151d4a7e77da9c 100644 (file)
@@ -1,3 +1,10 @@
+Sat May  1 02:47:20 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * config/mips/tm-mips.h (STABS_REG_TO_REGNUM): Match it with the gcc
+       definition.
+       * config/mips/tm-irix3.h (STABS_REG_TO_REGNUM): Add.
+       * irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
+
 Fri Apr 30 17:45:32 1993  Stu Grossman  (grossman@cygnus.com)
 
         * The following patches are from Jeffrey Law <law@cs.utah.edu>.
index b13e288b8181203e00c50dbb9773be464137c160..d2d4258b9e596cc24a3ede17ea44ddd434fb3593 100644 (file)
@@ -117,7 +117,7 @@ fill_fpregset (fpregsetp, regno)
       if ((regno == -1) || (regno == regi))
        {
          from = (char *) &registers[REGISTER_BYTE (regi)];
-         to = (char *) &(fpregsetp->fp_r.fp_regs[regi]);
+         to = (char *) &(fpregsetp->fp_r.fp_regs[regi - FP0_REGNUM]);
          bcopy(from, to, REGISTER_RAW_SIZE (regi));
        }
     }