Re: [rfc/rfa] [2/4] SPU enhancements: main part

Daniel Jacobowitz
2007-06-04T19:36:17Z

On Sat, Jun 02, 2007 at 09:32:00PM +0200, Ulrich Weigand wrote:
> Hello,
>
> this patch adds extended SPU query support for the spu-elf target.
> The target currently uses only the "regs" and "mem" files present
> in the Linux spufs directory associated with an SPU context.
>
> However, those contexts actually provide a variety of different
> files containing a number of additional information about the
> SPU context which can be very helpful when debugging SPU programs.
>
> This patch makes that information available. Some of the data
> is presented in the form of additional pseudo registers, allowing
> to both display and modify the status. Other data is read-only,
> and is presented by a number of new "info spu" commands.

Looks nice to me. In my ideal world we could formulate an XML
description of this data and let GDB do generic pretty-printing,
but this is certainly a reasonable way to do it - making things that
generic is hard :-)

--
Daniel Jacobowitz
CodeSourcery