This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA][3/5] New port: Cell BE SPU (the port itself)
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: drow at false dot org (Daniel Jacobowitz)
- Cc: mark dot kettenis at xs4all dot nl (Mark Kettenis), gdb-patches at sourceware dot org
- Date: Sat, 18 Nov 2006 12:09:58 +0100 (CET)
- Subject: Re: [RFA][3/5] New port: Cell BE SPU (the port itself)
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