This is the mail archive of the gdb-patches@sourceware.org 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: rs6000-tdep should probably not depend on the ppc-sim code


>   Trying to compile gdb on mips(el) platform with
> --enable-targets=all, fails to build with following error:

I took a quick look to see what's going on, and I think you can
work around this by configuring with --disable-sim (you said on
IRC that you did not care much about having the sim). What's
happening is that configure is enabling the *mips* simulator,
and GDB's configure is then defining WITH_SIM.  rs6000-tdep.c
assumes that WITH_SIM is sufficient to ensure a *ppc* simulator,
which is not true, since any debugger enabling target support
for a powerpc-based target would use that file.

We'll need to find a better solution, but this should get you
rolling.

-- 
Joel


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