From owner-freebsd-current Wed Oct 30 8:29:47 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 AE71537B401; Wed, 30 Oct 2002 08:29:46 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BE0143E8A; Wed, 30 Oct 2002 08:29:45 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 0B63A534E; Wed, 30 Oct 2002 17:29:40 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Gerald Pfeifer Cc: Krzysztof =?iso-8859-2?q?J=EAdruczyk?= , freebsd-current@freebsd.org, Poul-Henning Kamp , Pierre Beyssac Subject: Re: Wine-2002.10.07 port on FreeBSD 5.0-current References: From: Dag-Erling Smorgrav Date: Wed, 30 Oct 2002 17:29:39 +0100 In-Reply-To: (Gerald Pfeifer's message of "Wed, 30 Oct 2002 17:18:01 +0100 (CET)") Message-ID: Lines: 20 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Gerald Pfeifer writes: > 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. That revision doesn't change the structure, just how it is defined, so binary compatibility is not an issue. As for source compatibility, just use the DBREG_DRX macro, which exists in both -STABLE and -CURRENT (it was merged into -STABLE two years ago). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message