On Tuesday 25 June 2013 11:27:33 Tom Tromey wrote: > >>>>> "Joel" == Joel Brobecker writes: > Joel> The common and ppc parts were easy to fix, by just doing a reduced > Joel> version of what we do for GDB and GDBserver. Moxie, on the other > Joel> hand, needs the version info for different reasons, and I prefered > Joel> not touching it. > > I looked at this a bit. > > Right now the code there is a bit broken. If you update your source > tree, rebuild, and reinstall, then you can end up in a situation where > the moxie sim reads an outdated moxie-gdb.dtb file. > > This can happen due to missing dependencies: the version number is built > into the sim via a -D option, but interp.o doesn't depend on the version > file. > > I think that since we don't generally support versioned installs in gdb, > it is simplest to just drop the version number here. This fixes the bug > and also avoids using gdb's version.in. > > Ok? OK -mike