This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86 CFI extensions


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 <drow@false.org>
> > 
> > > 2005-09-13  Jan Beulich  <jbeulich@novell.com>
> > > 
> > > 	* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]