aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1993-05-01 09:55:01 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1993-05-01 09:55:01 +0000
commitdea149ce8d5261e1198c5cc951174f2b276cc4d9 (patch)
tree9df41c1c6e9da344229f22c8fff5fcadcc7a2817
parentb2057735d8c9a95da0a7ccee3a6c752f2a5d40ea (diff)
downloadfsf-binutils-gdb-dea149ce8d5261e1198c5cc951174f2b276cc4d9.zip
fsf-binutils-gdb-dea149ce8d5261e1198c5cc951174f2b276cc4d9.tar.gz
fsf-binutils-gdb-dea149ce8d5261e1198c5cc951174f2b276cc4d9.tar.bz2
* 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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/irix4-nat.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 34be1a9..a5a6924 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>.
diff --git a/gdb/irix4-nat.c b/gdb/irix4-nat.c
index b13e288..d2d4258 100644
--- a/gdb/irix4-nat.c
+++ b/gdb/irix4-nat.c
@@ -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));
}
}