From 7d6730fbd46dbc434bcb7ebab916a97c5cccf09e Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 8 Apr 2003 08:37:55 +0000 Subject: Fix build on sparc64 (catch up to pcb changes). --- devel/gdb53/files/patch-gdb_kvm-fbsd.c | 6 +++--- devel/gdb6/files/patch-gdb_kvm-fbsd.c | 6 +++--- devel/gdb6/files/patch-kvm-fbsd.c | 6 +++--- devel/gdb66/files/patch-gdb_kvm-fbsd.c | 6 +++--- devel/gdb66/files/patch-kvm-fbsd.c | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) (limited to 'devel') diff --git a/devel/gdb53/files/patch-gdb_kvm-fbsd.c b/devel/gdb53/files/patch-gdb_kvm-fbsd.c index cfba8de27727..e199c18efb14 100644 --- a/devel/gdb53/files/patch-gdb_kvm-fbsd.c +++ b/devel/gdb53/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/gdb53/files/Attic/patch-gdb_kvm-fbsd.c,v 1.4 2003-01-04 20:19:55 mp Exp $ */ ++/* $FreeBSD: /tmp/pcvs/ports/devel/gdb53/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-gdb_kvm-fbsd.c b/devel/gdb6/files/patch-gdb_kvm-fbsd.c index 65ae325da200..e494501701cf 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 48c5a95b3873..8838f0d5b08b 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++) diff --git a/devel/gdb66/files/patch-gdb_kvm-fbsd.c b/devel/gdb66/files/patch-gdb_kvm-fbsd.c index efdccb4df56a..8721cf46166a 100644 --- a/devel/gdb66/files/patch-gdb_kvm-fbsd.c +++ b/devel/gdb66/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/gdb66/files/Attic/patch-gdb_kvm-fbsd.c,v 1.4 2003-01-04 20:19:55 mp Exp $ */ ++/* $FreeBSD: /tmp/pcvs/ports/devel/gdb66/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/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++) -- cgit