This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: multi-proc: info processes?
On Wed, Nov 12, 2008 at 05:47:38PM -0800, Michael Snyder wrote:
> Hmmm, isn't the formatting of xml a little heavy-weight for a stub?
Nope. *Parsing* XML is a bit heavy-weight, but generating it requires
only a tiny routine to escape characters if you support arbitrary
names in the generated XML; you can generate it textually, not
via a DOM. gdbserver does this, for instance, and I'd guess it's just
a couple hundred bytes of code. No more than it would take for a
qfThreadInfo analogue.
--
Daniel Jacobowitz
CodeSourcery