From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26490 invoked by alias); 21 Aug 2004 12:37:19 -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 26481 invoked from network); 21 Aug 2004 12:37:18 -0000 Received: from unknown (HELO lakermmtao02.cox.net) (68.230.240.37) by sourceware.org with SMTP; 21 Aug 2004 12:37:18 -0000 Received: from white ([68.9.64.121]) by lakermmtao02.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP id <20040821123718.VADU6588.lakermmtao02.cox.net@white>; Sat, 21 Aug 2004 08:37:18 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1ByV7V-0001sh-00; Sat, 21 Aug 2004 08:37:17 -0400 Date: Sat, 21 Aug 2004 12:37:00 -0000 From: Bob Rossi To: Felix Lee Cc: gdb@sources.redhat.com Subject: Re: GDB/XMI (XML Machine Interface) Message-ID: <20040821123717.GB7138@white> 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> <20040820190944.GA23331@nevyn.them.org> <20040820191958.225834D400C@stray.canids> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040820191958.225834D400C@stray.canids> User-Agent: Mutt/1.3.28i X-SW-Source: 2004-08/txt/msg00269.txt.bz2 On Fri, Aug 20, 2004 at 12:19:58PM -0700, Felix Lee wrote: > Daniel Jacobowitz : > > 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. > > oh, right. ok, that works for me. > -- I think there are other benefits of working with XML. Basically, people that want to use GDB for a small part of there project, could quickly write some code to get GDB to give a backtrace, or perform some other activity. I believe that making GDB output XML would almost make it scriptable. Someone writing in perl or java could quickly conjure up some commands and parse the output of GDB in a matter of minutes. This will never happen with MI. Thanks, Bob Rossi