This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Exhaustive simulator testing
On Wed, Oct 30, 2002 at 11:32:50AM -0800, Zack Weinberg wrote:
>
> Many of the src/sim simulators make direct reference to GDB routines.
> For instance, sim/ppc/main.c and sim/ppc/sim_calls.c both include
> gdb/callback.h and gdb/remote-sim.h. If the GDB sources are not in
> the tree these files will obviously not compile. My experience is
> that if GDB is in the tree but hasn't been configured, they still
> won't compile (bombs out looking for gdb/config.h or similar).
Yes. When building a combined tree for cross-targets, I have to configure
all of it, then delete gdb/Makefile -- and nothing else -- to avoid building
a debugger.
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002