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

Daniel Jacobowitz
2006-11-13T13:48:06Z

On Mon, Nov 13, 2006 at 01:42:07PM +0100, Mark Kettenis wrote:
> That's not really what I'm talking about. I'm talking about having a single
> gdb binary that is able to execute both native powerpc code and spu code
> (but not at the same time). As far as I can tell, it should be possible
> to do that by implementing to_can_run() in both ppc-linux-nat.c and
> spu-linux-nat.c, such that only one returns true at any time.

Hmm, I guess that would work. Would you include this in all native
ppc64 debuggers?

> I don't agree with Daniel here. The spu-linux-nat.c target vector is
> only usable on a powerpc native debugger.

Fair enough. I think of this as similar to a hypothetical remote-*.c
module which is only usable on Windows, but I agree that it's not a
good analogy.

--
Daniel Jacobowitz
CodeSourcery