1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/lang/m3gdb/files/patch-ae
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
534 B
Plaintext

--- src/gnu/usr.bin/gdb/gdb/freebsd-nat.c.orig Mon Sep 14 15:49:02 1998
+++ src/gnu/usr.bin/gdb/gdb/freebsd-nat.c Wed Sep 8 10:33:06 1999
@@ -115,9 +115,7 @@
for (regno = 0; regno < NUM_REGS; regno++)
{
cregno = tregmap[regno];
- if (cregno == tFS)
- addr = offsetof (struct user, u_pcb) + offsetof (struct pcb, pcb_fs);
- else if (cregno == tGS)
+ if (cregno == tGS)
addr = offsetof (struct user, u_pcb) + offsetof (struct pcb, pcb_gs);
else
addr = offset + 4 * cregno;