+2001-04-30 J.T. Conklin <jtc@redback.com>
+
+ * ppcnbsd-nat.c (fetch_inferior_registers)
+ (store_inferior_registers, fetch_core_registers): Changed to use
+ fpreg[] instead of r_regs[] to access floating point registers.
+
2001-04-30 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c: Get rid of the function prototypes.
ptrace (PT_GETFPREGS, inferior_pid,
(PTRACE_ARG3_TYPE) &inferior_fp_registers, 0);
for (i = 0; i < 32; i++)
- RF (FP0_REGNUM + i, inferior_fp_registers.r_regs[i]);
+ RF (FP0_REGNUM + i, inferior_fp_registers.fpreg[i]);
#endif
registers_fetched ();
#ifdef PT_SETFPREGS
for (i = 0; i < 32; i++)
- RS (FP0_REGNUM + i, inferior_fp_registers.r_regs[i]);
+ RS (FP0_REGNUM + i, inferior_fp_registers.fpreg[i]);
ptrace (PT_SETFPREGS, inferior_pid,
(PTRACE_ARG3_TYPE) & inferior_fp_registers, 0);
#endif
#ifdef PT_FPGETREGS
/* Floating point registers */
for (i = 0; i < 32; i++)
- RF (FP0_REGNUM + i, core_reg->freg.r_regs[i]);
+ RF (FP0_REGNUM + i, core_reg->freg.fpreg[i]);
#endif
registers_fetched ();