diff options
author | jake <jake@FreeBSD.org> | 2003-04-08 08:37:55 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-04-08 08:37:55 +0000 |
commit | 7d6730fbd46dbc434bcb7ebab916a97c5cccf09e (patch) | |
tree | aa9d642baabdaeb585062df9eff5f4cb9cc7987c /devel/gdb6 | |
parent | 21b0ea0db05a076dfc0ca635d78ec8aba7bc014f (diff) | |
download | FreeBSD-ports-7d6730fbd46dbc434bcb7ebab916a97c5cccf09e.zip FreeBSD-ports-7d6730fbd46dbc434bcb7ebab916a97c5cccf09e.tar.gz |
Fix build on sparc64 (catch up to pcb changes).
Diffstat (limited to 'devel/gdb6')
-rw-r--r-- | devel/gdb6/files/patch-gdb_kvm-fbsd.c | 6 | ||||
-rw-r--r-- | devel/gdb6/files/patch-kvm-fbsd.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/gdb6/files/patch-gdb_kvm-fbsd.c b/devel/gdb6/files/patch-gdb_kvm-fbsd.c index 65ae325..e494501 100644 --- a/devel/gdb6/files/patch-gdb_kvm-fbsd.c +++ b/devel/gdb6/files/patch-gdb_kvm-fbsd.c @@ -22,7 +22,7 @@ +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + -+/* $FreeBSD: /tmp/pcvs/ports/devel/gdb6/files/Attic/patch-gdb_kvm-fbsd.c,v 1.4 2003-01-04 20:19:55 mp Exp $ */ ++/* $FreeBSD: /tmp/pcvs/ports/devel/gdb6/files/Attic/patch-gdb_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++) diff --git a/devel/gdb6/files/patch-kvm-fbsd.c b/devel/gdb6/files/patch-kvm-fbsd.c index 48c5a95..8838f0d 100644 --- a/devel/gdb6/files/patch-kvm-fbsd.c +++ b/devel/gdb6/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/gdb6/files/Attic/patch-kvm-fbsd.c,v 1.4 2003-01-04 20:19:55 mp Exp $ */ ++/* $FreeBSD: /tmp/pcvs/ports/devel/gdb6/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++) |