diff options
author | obrien <obrien@FreeBSD.org> | 2004-05-10 17:45:51 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-05-10 17:45:51 +0000 |
commit | f6bfc912a1c0568df1c49fb5aeb9523a8fa94360 (patch) | |
tree | 1baa5c7868da42a6e83f62b864a57e67b3040b0d | |
parent | 9498b96a34223c48bc0f1e186c7fae665bbe522f (diff) | |
download | FreeBSD-src-f6bfc912a1c0568df1c49fb5aeb9523a8fa94360.zip FreeBSD-src-f6bfc912a1c0568df1c49fb5aeb9523a8fa94360.tar.gz |
Use pcbp->pcb_ufp for UltraSparc vs. ->pcb_fp.
-rw-r--r-- | gnu/usr.bin/binutils/gdb/kvm-fbsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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++) |