public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Using XML in GDB?
@ 2006-01-26  7:01 Daniel Jacobowitz
  2006-01-26 12:45 ` Andrew STUBBS
                   ` (3 more replies)
  0 siblings, 4 replies; 32+ messages in thread
From: Daniel Jacobowitz @ 2006-01-26  7:01 UTC (permalink / raw)
  To: gdb

Hi folks,

I've spent the last week and a half working on the "target available
feature" interface that I described on this list last May.  A big chunk
of the last two days has been spent trying to nail down a useful format
to store (in files) and transfer (over the remote protocol) descriptions of
remote "features", especially their register sets.

At first I was primarily focused on compactness.  But I've got a pretty good
handle on that problem now; a well-defined naming scheme and some caching,
and the size of the data is no longer a major concern.  That leaves
expressibility, parsability, and extensibility.  At which point I eventually
asked myself why I was reinventing the wheel.

And we get all sorts of things for free; for instance, UTF-8, which will be
handy if someone ever wants to include internationalized descriptions in the
target description.

Does anyone have a good reason why GDB should not make use of this
well-standardized format instead of inventing additional ad-hoc formats?

Where appropriate, of course.  People sometimes use XML for the silliest
things.

-- 
Daniel Jacobowitz
CodeSourcery

^ permalink raw reply	[flat|nested] 32+ messages in thread
* Re: Using XML in GDB?
@ 2006-01-29  4:33 Paul Schlie
  2006-01-29  6:18 ` Jim Blandy
  0 siblings, 1 reply; 32+ messages in thread
From: Paul Schlie @ 2006-01-29  4:33 UTC (permalink / raw)
  To: gdb

> From: Jim Blandy <jimb@red-bean.com>
> I think if you're going to have structured data, something like
> XML or ASN.1 is the way to go.  (I'd actually prefer to say "lisp
> s-expressions", but then nobody would speak to me any more. :) )

- Actually I'd have thought s-expression structured data would be a
  vastly superior choice relative either perverted (IMHO) alternative.


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2006-01-29  6:18 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-26  7:01 Using XML in GDB? Daniel Jacobowitz
2006-01-26 12:45 ` Andrew STUBBS
2006-01-26 13:41   ` Daniel Jacobowitz
2006-01-26 16:24     ` Andrew STUBBS
2006-01-26 16:41       ` Daniel Jacobowitz
2006-01-26 17:34         ` Paul Koning
2006-01-26 17:44         ` Andrew STUBBS
2006-01-26 18:55           ` Daniel Jacobowitz
2006-01-26 21:05         ` Mark Kettenis
2006-01-26 21:26           ` Daniel Jacobowitz
2006-01-26 21:57             ` Mark Kettenis
2006-01-26 22:02               ` Daniel Jacobowitz
2006-01-26 22:32                 ` Bob Rossi
2006-01-26 20:39 ` Mark Kettenis
2006-01-26 20:43   ` Bob Rossi
2006-01-26 21:41     ` Mark Kettenis
2006-01-26 20:52   ` Daniel Jacobowitz
2006-01-26 21:12     ` Bob Rossi
2006-01-27  0:47 ` Bob Rossi
2006-01-27 18:04 ` Eli Zaretskii
2006-01-27 18:41   ` Daniel Jacobowitz
2006-01-27 18:57     ` Eli Zaretskii
2006-01-27 19:06       ` Paul Koning
2006-01-28  6:33         ` Daniel Jacobowitz
2006-01-28 13:54           ` Jim Blandy
2006-01-29  4:09             ` Eli Zaretskii
2006-01-29  4:27             ` Paul Koning
2006-01-28  5:24       ` Daniel Jacobowitz
2006-01-29  4:33 Paul Schlie
2006-01-29  6:18 ` Jim Blandy
2006-01-29 23:21   ` Daniel Jacobowitz
2006-01-29 23:24   ` Paul Schlie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).