diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2003-04-08 08:37:55 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2003-04-08 08:37:55 +0000 |
commit | 21ae15da5fa868d40947fa8ec9536aec0ea04726 (patch) | |
tree | 895a699d63064b81ceadb10772030725e835ec96 /devel/gdb66/files/patch-kvm-fbsd.c | |
parent | Fix for security issue. (diff) |
Fix build on sparc64 (catch up to pcb changes).
Diffstat (limited to 'devel/gdb66/files/patch-kvm-fbsd.c')
-rw-r--r-- | devel/gdb66/files/patch-kvm-fbsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/gdb66/files/patch-kvm-fbsd.c b/devel/gdb66/files/patch-kvm-fbsd.c index 13f0b4f78149..7259fd149bed 100644 --- a/devel/gdb66/files/patch-kvm-fbsd.c +++ b/devel/gdb66/files/patch-kvm-fbsd.c @@ -22,7 +22,7 @@ +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + -+/* $FreeBSD: /tmp/pcvs/ports/devel/gdb66/files/Attic/patch-kvm-fbsd.c,v 1.4 2003-01-04 20:19:55 mp Exp $ */ ++/* $FreeBSD: /tmp/pcvs/ports/devel/gdb66/files/Attic/patch-kvm-fbsd.c,v 1.5 2003-04-08 08:37:55 jake Exp $ */ + +/* + * This works like "remote" but, you use it like this: @@ -526,9 +526,9 @@ + * the last context switch to the debugger. + * XXX do something with the floating-point registers? + */ -+ supply_register (SP_REGNUM, &pcbp->pcb_fp); ++ supply_register (SP_REGNUM, &pcbp->pcb_sp); + supply_register (PC_REGNUM, &pcbp->pcb_pc); -+ f_addr = extract_address (&pcbp->pcb_fp, SPARC_INTREG_SIZE); ++ f_addr = extract_address (&pcbp->pcb_sp, 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++) |