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
Mark Kettenis <kettenis@chello.nl> writes:
> In any case, this patch fixes the build problem.
>
> 2003-11-14 Ian Lance Taylor <ian@wasabisystems.com>
>
> * config/arm/nbsd.mt (TM_FILE): Define.
> * config/arm/tm-nbsd.h: New file.
>
> 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.
So I guess it is not needed. gdb does build without that #include.
Ian