aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gdb66
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-04-08 16:37:55 +0800
committerjake <jake@FreeBSD.org>2003-04-08 16:37:55 +0800
commit7d6730fbd46dbc434bcb7ebab916a97c5cccf09e (patch)
treeaa9d642baabdaeb585062df9eff5f4cb9cc7987c /devel/gdb66
parent21b0ea0db05a076dfc0ca635d78ec8aba7bc014f (diff)
downloadfreebsd-ports-gnome-7d6730fbd46dbc434bcb7ebab916a97c5cccf09e.tar.gz
freebsd-ports-gnome-7d6730fbd46dbc434bcb7ebab916a97c5cccf09e.tar.zst
freebsd-ports-gnome-7d6730fbd46dbc434bcb7ebab916a97c5cccf09e.zip
Fix build on sparc64 (catch up to pcb changes).
Diffstat (limited to 'devel/gdb66')
-rw-r--r--devel/gdb66/files/patch-gdb_kvm-fbsd.c6
-rw-r--r--devel/gdb66/files/patch-kvm-fbsd.c6
2 files changed, 6 insertions, 6 deletions
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++)