diff --git a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c index f8d5187440e3..da6435e50956 100644 --- a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c +++ b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c @@ -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++)