From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26540 invoked by alias); 27 Jan 2006 00:02:33 -0000 Received: (qmail 26532 invoked by uid 22791); 27 Jan 2006 00:02:32 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao04.cox.net (HELO eastrmmtao04.cox.net) (68.230.240.35) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 27 Jan 2006 00:02:30 +0000 Received: from localhost.localdomain ([68.9.66.48]) by eastrmmtao04.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060127000226.EAHS19943.eastrmmtao04.cox.net@localhost.localdomain> for ; Thu, 26 Jan 2006 19:02:26 -0500 Received: from bob by localhost.localdomain with local (Exim 4.52) id 1F2H4y-0004kn-GK for gdb@sourceware.org; Thu, 26 Jan 2006 19:03:04 -0500 Date: Fri, 27 Jan 2006 00:47:00 -0000 From: Bob Rossi To: gdb@sourceware.org Subject: Re: Using XML in GDB? Message-ID: <20060127000304.GD15600@brasko.net> References: <20060126055744.GA29647@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060126055744.GA29647@nevyn.them.org> User-Agent: Mutt/1.5.9i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00290.txt.bz2 > Does anyone have a good reason why GDB should not make use of this > well-standardized format instead of inventing additional ad-hoc formats? > > Where appropriate, of course. People sometimes use XML for the silliest > things. Hi Daniel, The only other possibility I can think of is to use the MI protocol. I've worked on the parsing side of the MI output command. However, I've often wondered why there is no "factory" for creating MI output commands in GDB. Anyways, MI could be the official protocol used by GDB, if XML turns out not to be such a hit. We already have a parser for input commands. We would need an additional parser for output commands. We would also need to units that would allow us to create mi output and input commands from data. Bob Rossi