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: sim/gdb dependency


Andrew Cagney wrote:
Nath.

Thanks to the PPC (...), the sim can't be built before GDB has been configured. This is because the PPC is using stuff from GDB's "tm.h"
Rrgh. There is supposed to be a dependency in there for that. Let me fix this.

and that is created during config time :-( I tweaked my local Makefile.in to read something like:
all-sim: configure-sim configure-gdb
and that fixed the problem. (But I'm not sure how to do this from scratch).

The correct fix is for the PPC to, like the better simulators, use an include/gdb/XXX-sim.h file. In the mean time .... :-(

Andrew




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