From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7836 invoked by alias); 21 Aug 2004 19:21:48 -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 7821 invoked from network); 21 Aug 2004 19:21:47 -0000 Received: from unknown (HELO epic.mail.pas.earthlink.net) (207.217.120.181) by sourceware.org with SMTP; 21 Aug 2004 19:21:47 -0000 Received: from ip216-26-76-134.dsl.du.teleport.com ([216.26.76.134] helo=stray.canids) by epic.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BybQv-0001VG-00 for gdb@sources.redhat.com; Sat, 21 Aug 2004 12:21:46 -0700 Received: from stray.canids (localhost.localdomain [127.0.0.1]) by stray.canids (Postfix) with ESMTP id E5E14511B4A for ; Sat, 21 Aug 2004 12:21:44 -0700 (PDT) From: Felix Lee To: gdb@sources.redhat.com Subject: Re: GDB/XMI (XML Machine Interface) 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> <20040821123717.GB7138@white> In-Reply-To: <20040821123717.GB7138@white> on Sat, 21 Aug 2004 08:37:17 EDT from Bob Rossi Date: Sat, 21 Aug 2004 19:21:00 -0000 Message-Id: <20040821192145.E5E14511B4A@stray.canids> X-SW-Source: 2004-08/txt/msg00273.txt.bz2 Bob Rossi : > 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. what about MI makes you feel like gdb isn't scriptable now? MI seems pretty easy to pull apart with regexps. anyway, a wrapper that translates gdb's interface to xml would also let anyone do what you want. --