1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129092

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++)