This is the mail archive of the gdb@sourceware.org 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: multi-proc: info processes?


Daniel Jacobowitz wrote:
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.

OK. Could I maybe get a preview of what you have in mind? I'm working on something similar, might as well try to be compatible.



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