From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7956 invoked by alias); 26 Feb 2007 19:19:19 -0000 Received: (qmail 7948 invoked by uid 22791); 26 Feb 2007 19:19:18 -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; Mon, 26 Feb 2007 19:19:10 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HLlNJ-00067o-Jk; Mon, 26 Feb 2007 14:19:05 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HLlNI-0000i6-Uy; Mon, 26 Feb 2007 14:19:04 -0500 Date: Mon, 26 Feb 2007 19:19:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Cc: Richard Earnshaw Subject: Re: [rfa] Add iWMMXt DWARF support, and fixed register numbers Message-ID: <20070226191904.GA1437@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org, Richard Earnshaw References: <20070213162540.GA13938@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070213162540.GA13938@caradoc.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-02/txt/msg00319.txt.bz2 On Tue, Feb 13, 2007 at 11:25:40AM -0500, Daniel Jacobowitz wrote: > This patch includes an assortment of minor improvements for iWMMXt > support. It relies on a clever trick that Vladimir pointed out, which > I may have mentioned before: we can assign fixed register numbers for > all possible target registers, and then return a name of "" and a type > of builtin_type_int0 for any that are not currently present. This > makes the register numbering constant between different targets and > simplifies writing tdep and nat files by quite a lot. > > Changes: > - Recognize the iWMMXt feature by name, and document its contents. > - Associate the registers with the correct ARM-assigned DWARF > encodings. > - Do not record FPA register saves in the prologue if we do not have > FPA. Similarly, do not try to print out FPA status. > - Reformat the register names to match those in the Intel manual. > Gas accepts both sets, but nothing besides GNU tools seems to use > the lowercase variants. > > Tested on arm-linux-gnueabi with iWMMXt. OK? I've checked this in. -- Daniel Jacobowitz CodeSourcery