This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC/RFA]Fix cross build of m68k netbsd target


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]