From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2390 invoked by alias); 13 Nov 2008 08:09:13 -0000 Received: (qmail 2314 invoked by uid 22791); 13 Nov 2008 08:09:13 -0000 X-Spam-Check-By: sourceware.org Received: from mx1a.swcp.com (HELO mx1a.swcp.com) (216.184.2.64) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Nov 2008 08:08:28 +0000 Received: from ame8.swcp.com (ame8.swcp.com [216.184.2.163]) by mx1a.swcp.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id mAD88NLP023857; Thu, 13 Nov 2008 01:08:23 -0700 Received: from swcp.com (nousagi.swcp.com [216.184.2.107] (may be forged)) by ame8.swcp.com (8.14.2/8.13.6) with SMTP id mAD88KxS035729; Thu, 13 Nov 2008 01:08:20 -0700 (MST) (envelope-from ebo@sandien.com) Date: Thu, 13 Nov 2008 08:09:00 -0000 To: "Daniel Jacobowitz" , "Michael Snyder" Subject: Re: multi-proc: info processes? From: "EBo" X-Mailer: TWIG 2.7.7 Message-ID: In-Reply-To: <20081113045618.GA12133@caradoc.them.org> References: <491B3695.5090300@vmware.com> <491B3A6E.5010208@codesourcery.com> <491B48F7.5030407@vmware.com> <200811122129.59949.pedro@codesourcery.com> <491B873A.9010705@vmware.com>, <491B873A.9010705@vmware.com> X-Client-IP: 216.184.15.167 Cc: "Pedro Alves" , "Stan Shebs" , "gdb@sourceware.org" Reply-To: ebo@sandien.com X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (ame8.swcp.com [216.184.2.128]); Thu, 13 Nov 2008 01:08:21 -0700 (MST) X-Virus-Status: Clean Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00100.txt.bz2 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 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