From f6bfc912a1c0568df1c49fb5aeb9523a8fa94360 Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 10 May 2004 17:45:51 +0000 Subject: Use pcbp->pcb_ufp for UltraSparc vs. ->pcb_fp. --- gnu/usr.bin/binutils/gdb/kvm-fbsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin') diff --git a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c index f8d5187..da6435e 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++) -- cgit v1.1