This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Simplified XML parsing
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 4 Jan 2007 17:12:22 -0500
- Subject: Re: [rfc] Simplified XML parsing
- References: <20061207160228.GA16211@nevyn.them.org>
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