This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc/rfa] [4/4] SPU enhancements: GDB/MI extensions

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]