Use pcbp->pcb_ufp for UltraSparc vs. ->pcb_fp.
This commit is contained in:
parent
857b57eae1
commit
c337dbb2f2
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user