* 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 34be1a9..a5a6924 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 b13e288..d2d4258 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));
        }
     }