From owner-cvs-all Sun Oct 20 23:24:53 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 166EB37B401; Sun, 20 Oct 2002 23:24:52 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70D5543E4A; Sun, 20 Oct 2002 23:24:50 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 5350B8146E; Mon, 21 Oct 2002 15:54:47 +0930 (CST) Date: Mon, 21 Oct 2002 15:54:47 +0930 From: Greg 'groggy' Lehey To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 db_trace.c machdep.c src/sys/i386/include reg.h Message-ID: <20021021062447.GA63728@wantadilla.lemis.com> References: <200210202048.g9KKmueG078396@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200210202048.g9KKmueG078396@repoman.freebsd.org> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday, 20 October 2002 at 13:48:56 -0700, Poul-Henning Kamp wrote: > phk 2002/10/20 13:48:56 PDT > > Modified files: > sys/i386/i386 db_trace.c machdep.c > sys/i386/include reg.h > Log: > 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. > > Verified by: MD5 hash on the produced .o files. Not verified by: make world. This breaks world in a couple of places in lib/libc. I've added the following to my local copy of the file: #define dr6 dr[6] #define dr7 dr[7] It's not clear that this is the correct solution, so I haven't committed it. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message