Date: Wed, 30 Oct 2002 13:03:38 +0100 From: beaker@hot.pl (Krzysztof =?iso-8859-2?q?J=EAdruczyk?=) To: freebsd-current@FreeBSD.org Cc: gerald@FreeBSD.org Subject: Wine-2002.10.07 port on FreeBSD 5.0-current Message-ID: <86r8e8t86o.fsf@grasshopper.iavmb.pl>
next in thread | raw e-mail | index | archive | help
Hi, Yesterday I tried to upgrade wine on my FreeBSD-current box. It didn't compile until I changed following in server/context_i386.c (looks like this is because of commit of 1.28 version of src/sys/i386/include/reg.h) --8<---------------cut here---------------start------------->8--- --- context_i386.c Wed Aug 14 22:59:03 2002 +++ /home/krzych/src/context_i386.c Wed Oct 30 02:24:23 2002 @@ -373,12 +373,12 @@ struct dbreg dbregs; if (ptrace( PTRACE_GETDBREGS, pid, (caddr_t) &dbregs, 0 ) =3D=3D -= 1) goto error; - context->Dr0 =3D dbregs.dr0; - context->Dr1 =3D dbregs.dr1; - context->Dr2 =3D dbregs.dr2; - context->Dr3 =3D dbregs.dr3; - context->Dr6 =3D dbregs.dr6; - context->Dr7 =3D dbregs.dr7; + context->Dr0 =3D dbregs.dr[0]; + context->Dr1 =3D dbregs.dr[1]; + context->Dr2 =3D dbregs.dr[2]; + context->Dr3 =3D dbregs.dr[3]; + context->Dr6 =3D dbregs.dr[6]; + context->Dr7 =3D dbregs.dr[7]; #endif } if (flags & CONTEXT_FLOATING_POINT) @@ -437,14 +437,14 @@ { #ifdef PTRACE_SETDBREGS struct dbreg dbregs; - dbregs.dr0 =3D context->Dr0; - dbregs.dr1 =3D context->Dr1; - dbregs.dr2 =3D context->Dr2; - dbregs.dr3 =3D context->Dr3; - dbregs.dr4 =3D 0; - dbregs.dr5 =3D 0; - dbregs.dr6 =3D context->Dr6; - dbregs.dr7 =3D context->Dr7; + dbregs.dr[0] =3D context->Dr0; + dbregs.dr[1] =3D context->Dr1; + dbregs.dr[2] =3D context->Dr2; + dbregs.dr[3] =3D context->Dr3; + dbregs.dr[4] =3D 0; + dbregs.dr[5] =3D 0; + dbregs.dr[6] =3D context->Dr6; + dbregs.dr[7] =3D context->Dr7; if (ptrace( PTRACE_SETDBREGS, pid, (caddr_t) &dbregs, 0 ) =3D=3D -= 1) goto error; #endif --8<---------------cut here---------------end--------------->8--- --=20 Best Regards, Krzysztof J=EAdruczyk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r8e8t86o.fsf>