Use pcbp->pcb_ufp for UltraSparc vs. ->pcb_fp.

This commit is contained in:
David E. O'Brien 2004-05-10 17:45:51 +00:00
parent 857b57eae1
commit c337dbb2f2

View File

@ -537,9 +537,9 @@ fetch_kcore_registers (struct pcb *pcbp)
* the last context switch to the debugger.
* XXX do something with the floating-point registers?
*/
supply_register (SP_REGNUM, (char *)&pcbp->pcb_fp);
supply_register (SP_REGNUM, (char *)&pcbp->pcb_ufp);
supply_register (PC_REGNUM, (char *)&pcbp->pcb_pc);
f_addr = extract_address (&pcbp->pcb_fp, SPARC_INTREG_SIZE);
f_addr = extract_address (&pcbp->pcb_ufp, SPARC_INTREG_SIZE);
/* Load the previous frame by hand (XXX) and supply it. */
read_memory (f_addr + SPOFF, (char *)&top, sizeof (top));
for (i = 0; i < 8; i++)