From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5627 invoked by alias); 2 Oct 2002 16:12:41 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5579 invoked from network); 2 Oct 2002 16:12:40 -0000 Received: from unknown (HELO dr-evil.shagadelic.org) (208.176.2.166) by sources.redhat.com with SMTP; 2 Oct 2002 16:12:40 -0000 Received: by dr-evil.shagadelic.org (Postfix, from userid 7518) id A937C9841; Wed, 2 Oct 2002 09:12:35 -0700 (PDT) Date: Wed, 02 Oct 2002 09:12:00 -0000 From: Jason R Thorpe To: Pierre Muller Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC/RFA]Fix cross build of m68k netbsd target Message-ID: <20021002091235.L11524@dr-evil.shagadelic.org> Mail-Followup-To: Jason R Thorpe , Pierre Muller , gdb-patches@sources.redhat.com References: <4.2.0.58.20021002152937.01418ad0@ics.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <4.2.0.58.20021002152937.01418ad0@ics.u-strasbg.fr>; from muller@ics.u-strasbg.fr on Wed, Oct 02, 2002 at 04:55:31PM +0200 Organization: Wasabi Systems, Inc. X-SW-Source: 2002-10/txt/msg00055.txt.bz2 On Wed, Oct 02, 2002 at 04:55:31PM +0200, Pierre Muller wrote: > tm-nbsd.h in config/m68k directory > contains > #include "" > and > #include sys/param.h" > > This is totally wrong and should be refused in all cases, > as it totally prevents correct cross-compilation > to that target. > > I thus propose the following patch, > which enables me to cross-compile > with target m68k-uunknown-netbsd. Yes, now that the m68k is multiarch'd, I need to sit down an pay some attention to the m68k-netbsd target(s). Will you please file a GDB bug report on this issue? > * config/m68k/tm-nbsd.h: > (sys/param.h, machine/vmparam.h): Remove wrong includes. > (PGSHIFT, HIGHPAGES,NBPG, USRSTACK): New macros, > taken from a native m68k netbsd machine. I'm not inclined to check this in, because it won't really work properly for all of the netbsd m68k platforms. (out of curiosity, which one are you using?) -- -- Jason R. Thorpe