From owner-freebsd-current Wed Oct 30 8:18:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A3D237B401; Wed, 30 Oct 2002 08:18:43 -0800 (PST) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07FE243E77; Wed, 30 Oct 2002 08:18:42 -0800 (PST) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from naos (naos [128.130.111.28]) by vexpert.dbai.tuwien.ac.at (8.12.6/8.12.6) with ESMTP id g9UGI37m012669; Wed, 30 Oct 2002 17:18:04 +0100 (CET) Date: Wed, 30 Oct 2002 17:18:01 +0100 (CET) From: Gerald Pfeifer To: Krzysztof =?iso-8859-2?q?J=EAdruczyk?= Cc: freebsd-current@freebsd.org, Poul-Henning Kamp , Pierre Beyssac Subject: Re: Wine-2002.10.07 port on FreeBSD 5.0-current In-Reply-To: <86r8e8t86o.fsf@grasshopper.iavmb.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 30 Oct 2002, Krzysztof [iso-8859-2] Jędruczyk wrote: > 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) Thanks for the heads up. Indeed this breaks the Wine port (and possibly other software) that relied on the old structure of dbreg. Poul-Henning, your patch to src/sys/i386/include/reg.h revision 1.28 date: 2002/10/20 20:48:56; author: phk; state: Exp; lines: +6 -9 Change the definition of the debugging registers to be an array, so that we can index into it, rather than do pointer gymnastics on a structure containing 8 elements. unfortunately changed this structure in a way that makes it hard to write code that remains compatible across -STABLE and -CURRENT. (I'm also Cc:ing Pierre, who contributed this FreeBSD-specific code to Wine in August.) How can we fix this problem (a) for Wine, and (b) in general? Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message