From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14584 invoked by alias); 17 Sep 2005 22:40:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14571 invoked by uid 22791); 17 Sep 2005 22:40:25 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 17 Sep 2005 22:40:25 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EGlM6-0002ys-5Y; Sat, 17 Sep 2005 18:40:22 -0400 Date: Sat, 17 Sep 2005 22:40:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: JBeulich@novell.com, gdb-patches@sourceware.org, rth@twiddle.net Subject: Re: [PATCH] x86 CFI extensions Message-ID: <20050917224022.GM8777@nevyn.them.org> Mail-Followup-To: Mark Kettenis , JBeulich@novell.com, gdb-patches@sourceware.org, rth@twiddle.net References: <20050908154645.GN3966@smtp.west.cox.net> <43207BA30200007800024502@emea1-mh.id2.novell.com> <20050908161334.GP3966@smtp.west.cox.net> <43214D2D02000078000247B5@emea1-mh.id2.novell.com> <20050910055836.GA28662@twiddle.net> <4325448C0200007800024DF5@emea1-mh.id2.novell.com> <20050912074914.GA31047@twiddle.net> <432717DB.76F0.0078.0@novell.com> <20050917205939.GD8777@nevyn.them.org> <200509172231.j8HMVimO002293@elgar.sibelius.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200509172231.j8HMVimO002293@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00136.txt.bz2 On Sun, Sep 18, 2005 at 12:31:44AM +0200, Mark Kettenis wrote: > > Date: Sat, 17 Sep 2005 16:59:39 -0400 > > From: Daniel Jacobowitz > > > > > 2005-09-13 Jan Beulich > > > > > > * amd64-tdep.h (AMD64_FCTRL_REGNUM, AMD64_FSTAT_REGNUM, > > > AMD64_MXCSR_REGNUM): New. > > > * amd64-tdep.c (amd64_dwarf_regmap): Add eflags, selector regs, > > > mxcsr, fp control and status words. > > > * i386-tdep.c (): Add selector regs, mxcsr, fp control and > > > status > > > words. > > > > Mark, did you want to take a look at this? It seems fine to me. > > Sorry, slipped through. Thanks for reminding me Daniel! > > Jan, what's the status new DWARF register numbers? At least the amd64 > ones look very Linux-specific to me. They're not listed in the AMD64 > ABI (at least not version 0.95), and AFAICT gcc won't produce them > either. They _weren't_ listed in the AMD64 ABI: they are now :-) Michael Matz committed a patch to do this on Tuesday. I don't think a new PDF's been made since, but you can find the CVS archive on x86-64.org. GCC won't use them because GCC never puts anything in those registers that it emits debug or unwind data for, to the best of my knowledge. Is there any active authority for the DWARF numbering on i386? -- Daniel Jacobowitz CodeSourcery, LLC