This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] x86 CFI extensions
- From: "Jan Beulich" <JBeulich at novell dot com>
- To: <drow at false dot org>,"Mark Kettenis" <mark dot kettenis at xs4all dot nl>
- Cc: <gdb-patches at sourceware dot org>,<rth at twiddle dot net>
- Date: Mon, 19 Sep 2005 09:27:47 +0200
- Subject: Re: [PATCH] x86 CFI extensions
- References: <432070850200007800024465@emea1-mh.id2.novell.com> <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><20050917205939.GD8777@nevyn.them.org> (message from DanielJacobowitz on Sat, 17 Sep 2005 16:59:39 -0400) <200509172231.j8HMVimO002293@elgar.sibelius.xs4all.nl>
>>> Mark Kettenis <mark.kettenis@xs4all.nl> 18.09.05 00:31:44 >>>
>> 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.
In addition to Daniel's reply: while gcc will probably never care about
them (and thus never produce them), the gas now can (patch went in last
week), and while initially this indeed is for Linux, any OS should want
them for describing exception and interrupt frames...
Jan