This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC/RFA]Fix cross build of m68k netbsd target
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: Pierre Muller <muller at ics dot u-strasbg dot fr>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 2 Oct 2002 09:12:35 -0700
- Subject: Re: [RFC/RFA]Fix cross build of m68k netbsd target
- Organization: Wasabi Systems, Inc.
- References: <4.2.0.58.20021002152937.01418ad0@ics.u-strasbg.fr>
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 <thorpej@wasabisystems.com>