* 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.
This commit is contained in:
Peter Schauer 1993-05-01 09:55:01 +00:00
parent b2057735d8
commit dea149ce8d
2 changed files with 8 additions and 1 deletions

View 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>.

View 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));
}
}