freebsd-ports/lang/m3gdb/files/patch-af
John Polstra fbeafdb5f9 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.
1999-09-08 18:02:33 +00:00

14 lines
537 B
Plaintext

--- 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? */