From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 750 invoked by alias); 20 Aug 2004 19:09:46 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 743 invoked from network); 20 Aug 2004 19:09:46 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 20 Aug 2004 19:09:46 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1ByEll-00064o-4f; Fri, 20 Aug 2004 15:09:45 -0400 Date: Fri, 20 Aug 2004 19:09:00 -0000 From: Daniel Jacobowitz To: Felix Lee Cc: gdb@sources.redhat.com Subject: Re: GDB/XMI (XML Machine Interface) Message-ID: <20040820190944.GA23331@nevyn.them.org> Mail-Followup-To: Felix Lee , gdb@sources.redhat.com References: <20040810201440.GA24186@white> <20040819234921.GA4966@white> <20040820103420.340A64D400C@stray.canids> <20040820125443.GB5703@white> <20040820183447.GA21565@nevyn.them.org> <20040820190622.BFA6B4D400C@stray.canids> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040820190622.BFA6B4D400C@stray.canids> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-08/txt/msg00257.txt.bz2 On Fri, Aug 20, 2004 at 12:06:22PM -0700, Felix Lee wrote: > Daniel Jacobowitz : > > Parsing MI over and over again from scratch may be a waste of time. So > > write once a library that parses MI. Then you gain most of the benefit > > of having XML parsing libraries available. > > xml has the advantage of being language neutral. a library in C > or whatever takes more work to use in other languages. Oh, come on. That's why I suggested writing a library that parses the MI and outputs XML. You run that as a wrapper around GDB; that's real easy. -- Daniel Jacobowitz