From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18486 invoked by alias); 15 Oct 2007 19:19:42 -0000 Received: (qmail 18472 invoked by uid 22791); 15 Oct 2007 19:19:41 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 15 Oct 2007 19:19:39 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 26E9898336 for ; Mon, 15 Oct 2007 19:19:38 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0E2DE9810B for ; Mon, 15 Oct 2007 19:19:38 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1IhVTV-0001b0-A3 for gdb-patches@sourceware.org; Mon, 15 Oct 2007 15:19:37 -0400 Date: Mon, 15 Oct 2007 19:26:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [rfc] Pre-parse XML target descriptions Message-ID: <20071015191937.GA5717@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20071005153350.GA23583@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071005153350.GA23583@caradoc.them.org> User-Agent: Mutt/1.5.15 (2007-04-09) 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-10/txt/msg00404.txt.bz2 On Fri, Oct 05, 2007 at 11:33:50AM -0400, Daniel Jacobowitz wrote: > 2007-10-05 Daniel Jacobowitz > > * target-descriptions.c (tdesc_predefined_types): New. > (tdesc_named_type): Use it. > (tdesc_type_id, maint_print_c_tdesc_cmd): New functions. > (_intialize_target_descriptions): Register "maint print c-tdesc". > * features/Makefile (XMLTOC, CFILES, GDB): New macros. > (cfiles, %.c): New rules. > * features/arm-with-iwmmxt.c, features/mips-linux.c, > features/mips64-linux.c: New generated files. > > * arm-linux-nat.c: Include preparsed description instead of > "xml-support.h". > (super_xfer_partial, arm_linux_xfer_partial): Remove. > (arm_linux_read_description): New function. > (_initialize_arm_linux_nat): Set to_read_description instead of > to_xfer_partial. Initialize preparsed description. > * config/arm/linux.mh (TDEP_XML): Delete. > * mips-linux-nat.c: Include preparsed descriptions instead of > "xml-support.h". > (super_xfer_partial, mips_linux_xfer_partial): Remove. > (mips_linux_read_description): New function. > (_initialize_mips_linux_nat): Set to_read_description instead of > to_xfer_partial. Initialize preparsed description. > * config/mips/linux.mh (TDEP_XML): Delete. > * Makefile.in (XMLFILES): Remove $(TDEP_XML). > (features_headers, arm_with_iwmmxt_c, mips_linux_c) > (mips64_linux_c): New macros. > (arm-linux-nat.o, mips-linux-nat.o): Update. > > 2007-10-05 Daniel Jacobowitz > > * gdb.texinfo (Maintenance Commands): Document "maint print c-tdesc". I've checked this in. -- Daniel Jacobowitz CodeSourcery