Re: [RFA][3/5] New port: Cell BE SPU (the port itself)

Ulrich Weigand
2006-11-18T11:10:17Z

Daniel Jacobowitz wrote:

> Do you need a native GDB for this? That is, would starting with an SPU
> cross target plus an SPU-aware gdbserver be useful? For now that would
> probably mean a separate gdbserver which only spoke SPU. I'm not sure
> if that's possible at all based on your original patch; just asking.

If you look at patch 4/5 in my original series, that just what you're
proposing here: a gdbserver that speaks only SPU. We've been using
that to support x86 -> spu cross debugging, but it would certainly
work for ppc -> spu cross debugging as well.

However, the patch has the same type of slight abuse of the build system
that Mark was concerned about for the native patch: it has a hack to build
a gdbserver in a "cross" configure situation. Since I can't really build
a native spu configuration, that's the only way to actually get a gdbserver
built I could think of ...

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com