This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc/rfa] [4/4] SPU enhancements: GDB/MI extensions
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, eliz at gnu dot org
- Date: Mon, 4 Jun 2007 16:00:16 -0400
- Subject: Re: [rfc/rfa] [4/4] SPU enhancements: GDB/MI extensions
- References: <200706021934.l52JY1ZD005660@d12av02.megacenter.de.ibm.com>
On Sat, Jun 02, 2007 at 09:34:01PM +0200, Ulrich Weigand wrote:
> Hello,
>
> this patch makes the new "info spu" commands available via the GDB/MI
> protocol. The Cell Broadband Engine IDE is already able to make use
> of these commands and display the SPU status information.
>
> It looks like these are the first platform-specific MI commands, so
> I'd appreciate opinions on this ...
The documentation doesn't say what the output should be; we need that
for consumers to parse it usefully. Does it get MI-tabulated? If
not, there's always -interpreter-exec.
I mentioned in an earlier message that it would be nice if this sort
of output was more generic, so that it could come straight from a
target description file without a lot of tdep code. That's easy to
put off to another day, but the same thing applies to GDB's
conversation with consumers. Is there some less target-specific way
that we can present this information? For instance, a way that an IDE
could automatically pick up all the target-specific data that GDB
knows about without the IDE having to know about all of it also.
That doesn't mean the IDE can't know about it too, of course, to
provide more specialized access.
If we do go ahead with these new commands I suggest you add a test
case for them.
--
Daniel Jacobowitz
CodeSourcery