From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9723 invoked by alias); 13 Nov 2008 04:57:05 -0000 Received: (qmail 9608 invoked by uid 22791); 13 Nov 2008 04:57:04 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Nov 2008 04:56:22 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id B078F104BC; Thu, 13 Nov 2008 04:56:19 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 621C21049E; Thu, 13 Nov 2008 04:56:19 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1L0UFe-0003DD-87; Wed, 12 Nov 2008 23:56:18 -0500 Date: Thu, 13 Nov 2008 04:57:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: Pedro Alves , Stan Shebs , "gdb@sourceware.org" Subject: Re: multi-proc: info processes? Message-ID: <20081113045618.GA12133@caradoc.them.org> Mail-Followup-To: Michael Snyder , Pedro Alves , Stan Shebs , "gdb@sourceware.org" References: <491B3695.5090300@vmware.com> <491B3A6E.5010208@codesourcery.com> <491B48F7.5030407@vmware.com> <200811122129.59949.pedro@codesourcery.com> <491B873A.9010705@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <491B873A.9010705@vmware.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes 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/msg00099.txt.bz2 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