This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Building cross-gdb to arm-netbsd
From: Ian Lance Taylor <ian@wasabisystems.com>
Date: 14 Nov 2003 15:01:26 -0500
Mark Kettenis <kettenis@chello.nl> writes:
> Your config/arm/tm-nbsd.h also includes "arm/tm-arm.h". Is that
> necessary?
To be honest, I don't know. I did it by analogy with i386/tm-nbsd.h.
I suppose, looking at it more closely, then the definition of
VARIABLES_INSIDE_BLOCK is not needed, since the system compiler is
always gcc. So the only thing which arm/tm-arm.h does is define
GDB_MULTI_ARCH. Looking at defs.h, that may also be unnecessary.
Yes, setting GDB_MULTI_ARCH shouldn't be necessary in this case.
So I guess it is not needed. gdb does build without that #include.
In that case, could you check it in without the #include?
Thanks,
Mark