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
At 18:12 02/10/2002 , Jason R Thorpe a écrit:
>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?)
I found these values on a 1.6 m68k netbsd version.
Did these value change in version history?
This should be possible to inversigate
with the cvsweb server on www.netbsd.org....
but when I try to to use the diff tool,
it does not work correctly...
As you are probably maintainer of this tool, maybe you can fix this.
The problem is that I can't give you the sources where I found the different
macros because I lost access to the corresponding machine.
Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99