summaryrefslogtreecommitdiff
path: root/lang/m3gdb/files/patch-af
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1999-09-08 18:02:33 +0000
committerJohn Polstra <jdp@FreeBSD.org>1999-09-08 18:02:33 +0000
commitfbeafdb5f9c46ad7b4d3cb8dfa6a1f4a2aa109a5 (patch)
tree1da077eaba41e48d78d49d4084c2446ec51f551b /lang/m3gdb/files/patch-af
parentExpand the patch to work on drivers without the XUSSR channel set too. (diff)
Make this port build again under both 3.x-stable and 4.x-current.
It used to depend on a bunch of files from the FreeBSD source tree. But the import of gdb-4.18 and the restructuring connected with that broke the port. I have created a second distfile containing the needed files, and this port now gets them from there. Also mark this port broken for everything except i386/elf. I don't have time to fix the other platforms before the 3.3-RELEASE ports freeze.
Diffstat (limited to '')
-rw-r--r--lang/m3gdb/files/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/m3gdb/files/patch-af b/lang/m3gdb/files/patch-af
new file mode 100644
index 000000000000..a30c3972b895
--- /dev/null
+++ b/lang/m3gdb/files/patch-af
@@ -0,0 +1,13 @@
+--- kvm-fbsd.c.orig Sun Feb 7 04:36:10 1999
++++ kvm-fbsd.c Wed Sep 8 10:38:14 1999
+@@ -835,9 +835,8 @@
+ supply_register (6, (char *)&pcb.pcb_esi);
+ supply_register (7, (char *)&pcb.pcb_edi);
+ supply_register (PC_REGNUM, (char *)&pcb.pcb_eip);
+- for (i = 9; i < 13; ++i) /* eflags, cs, ss, ds, es */
++ for (i = 9; i < 14; ++i) /* eflags, cs, ss, ds, es, fs */
+ supply_register (i, (char *)&noreg);
+- supply_register (14, (char *)&pcb.pcb_fs);
+ supply_register (15, (char *)&pcb.pcb_gs);
+
+ /* XXX 80387 registers? */