This is the mail archive of the 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 Tue, Sep 13, 2005 at 06:18:03PM +0200, Jan Beulich wrote:
> >>> Richard Henderson <> 12.09.05 09:49:14 >>>
> >On Mon, Sep 12, 2005 at 09:04:12AM +0200, Jan Beulich wrote:
> >> But truly I think the processor-specific pieces of Dwarf's
> >> frame unwind spec should provide numbering for the complete set of
> >> registers.
> >
> >Except there is no standards body for this.  So *someone* will
> >have to make it up.
> >
> >Make it up and put it in gas and gdb: that will make it a defacto
> standard.
> This adds to gdb a little more than the minimum set of registers
> needed
> to at least fully understand CFI annotations for Linux' pt_regs.
> Built and tested on i686-pc-linux-gnu and x86_64-unknown-linux-gnu.
> Jan
> gdb/
> 2005-09-13  Jan Beulich  <>
> 	* amd64-tdep.h (AMD64_FCTRL_REGNUM, AMD64_FSTAT_REGNUM,
> 	* 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.

Daniel Jacobowitz
CodeSourcery, LLC

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