Re: Using XML in GDB?

Daniel Jacobowitz
2006-01-26T13:41:29Z

On Thu, Jan 26, 2006 at 12:07:37PM +0000, Andrew STUBBS wrote:
> I don't have anything to add to the XML debate yet. The idea of the
> "target available feature" interface sounds interesting and may be of
> use to us here, but I am having a little difficulty tracking down
> details. I have found the beginning of this conversation in the May
> archives, but it is always harder to find the definitive conclusion.
>
> Is there anywhere you can point me to find the final specification of
> what this interface will include - what features will it describe, what
> aspects of those features are covered? Is it just limited to registers?

There isn't a definitive conclusion because it's evolved substantially
once I began (re-) implementing it. This is what I had two weeks ago:

http://sourceware.org/ml/gdb/2005-05/msg00171.html

But it doesn't look entirely like that any more.

Registers can be generically described without hard-coded GDB
knowledge. Most other features can't, except for their presence or
absence. But the point of suggesting XML is to keep this extensible
should someone have a bright idea :-)

--
Daniel Jacobowitz
CodeSourcery