Re: multi-proc: info processes?

EBo
2008-11-13T08:09:13Z

Just in case you guys need to get into parsing XML I would mention Spirit++ (a
C++ functional template library which replaces most of the functionality of
LEX and YACC -- see http://spirit.sourceforge.net/ for more info). IIRC,
Spirit++ has a XML parser library suite. I do not know if this is appropriate
for the problem, but is a nice tool in the shed when needed.

EBo --

Daniel Jacobowitz <drow@false.org> said:

> 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