aboutsummaryrefslogtreecommitdiff
path: root/devel/gdb6
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2003-04-08 08:37:55 +0000
committerJake Burkholder <jake@FreeBSD.org>2003-04-08 08:37:55 +0000
commit21ae15da5fa868d40947fa8ec9536aec0ea04726 (patch)
tree895a699d63064b81ceadb10772030725e835ec96 /devel/gdb6
parent2b08c16c6fc4cba66ce9edf910db29365c0bf788 (diff)
downloadports-21ae15da5fa868d40947fa8ec9536aec0ea04726.tar.gz
ports-21ae15da5fa868d40947fa8ec9536aec0ea04726.zip
Notes
Diffstat (limited to 'devel/gdb6')
-rw-r--r--devel/gdb6/files/patch-gdb_kvm-fbsd.c6
-rw-r--r--devel/gdb6/files/patch-kvm-fbsd.c6
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 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++)