From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14366 invoked by alias); 4 Jan 2007 22:12:30 -0000 Received: (qmail 14355 invoked by uid 22791); 4 Jan 2007 22:12:29 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 04 Jan 2007 22:12:25 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H2aow-0008EU-VK for gdb-patches@sourceware.org; Thu, 04 Jan 2007 17:12:23 -0500 Date: Thu, 04 Jan 2007 22:12:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [rfc] Simplified XML parsing Message-ID: <20070104221222.GL24634@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20061207160228.GA16211@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061207160228.GA16211@nevyn.them.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00154.txt.bz2 On Thu, Dec 07, 2006 at 11:02:28AM -0500, Daniel Jacobowitz wrote: > CodeSourcery's GDB release currently has three XML parsers in it. One > of those is in HEAD already; another I'm about to post, and the third > hopefully not long after. The amount of duplication and unnecessary > complexity was disappointing, but I couldn't see a better way to do > it. Fortunately, Nathan Sidwell could :-) This version is entirely > a ripoff of the XML parser he wrote for another CodeSourcery project, > adapted to fit into GDB (and use its cleanup / exception mechanisms). > > This patch rewrites the memory-map parser, dividing it into an > infrastructure and a set of tables and action functions. I checked this in, finally. Meant to have that done before vacation... -- Daniel Jacobowitz CodeSourcery