fbeafdb5f9
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.
14 lines
534 B
Plaintext
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;
|