* PING PATCH: Update x86 stack align analyzer
@ 2008-08-06 17:08 H.J. Lu
2008-08-06 18:04 ` Mark Kettenis
0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2008-08-06 17:08 UTC (permalink / raw)
To: GDB
PING.
H.J.
On Wed, Jul 30, 2008 at 2:11 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Gcc 4.4 revision 138335:
>
> http://gcc.gnu.org/ml/gcc-cvs/2008-07/msg01048.html
>
> introduced new ways to align stack. This patch teaches gdb how to
> recognize the new stack prologue. OK for trunk?
>
> Please CC me since I am not on the gdb-patches mailing list.
>
> Thanks.
>
>
> H.J.
> ----
> 2008-07-30 Xuepeng Guo <xuepeng.guo@intel.com>
> H.J. Lu <hongjiu.lu@intel.com>
>
> * amd64-tdep.c (amd64_frame_cache): Add saved_sp_reg.
> (amd64_init_frame_cache): Initialize saved_sp_reg.
> (amd64_analyze_stack_align): New.
> (amd64_analyze_prologue): Call it.
> (amd64_frame_cache): Try to use saved_sp_reg if frame is invalid.
>
> * amd64-tdep.h (amd64_regnum): Add AMD64_R9_REGNUM to
> AMD64_R14_REGNUM.
>
> * i386-tdep.c (i386_frame_cache): Remove stack_align. Add
> saved_sp_reg.
> (i386_alloc_frame_cache): Remove stack_align. Initialize
> saved_sp_reg to I386_ESP_REGNUM.
> (i386_analyze_stack_align): Rewrite.
> (i386_frame_cache): Use saved_sp_reg only if frame is invalid.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PING PATCH: Update x86 stack align analyzer
2008-08-06 17:08 PING PATCH: Update x86 stack align analyzer H.J. Lu
@ 2008-08-06 18:04 ` Mark Kettenis
0 siblings, 0 replies; 2+ messages in thread
From: Mark Kettenis @ 2008-08-06 18:04 UTC (permalink / raw)
To: hjl.tools; +Cc: gdb-patches
> Date: Wed, 6 Aug 2008 10:07:06 -0700
> From: "H.J. Lu" <hjl.tools@gmail.com>
>
> PING.
I'll try to look at it tonight.
> H.J.
> On Wed, Jul 30, 2008 at 2:11 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> > Gcc 4.4 revision 138335:
> >
> > http://gcc.gnu.org/ml/gcc-cvs/2008-07/msg01048.html
> >
> > introduced new ways to align stack. This patch teaches gdb how to
> > recognize the new stack prologue. OK for trunk?
> >
> > Please CC me since I am not on the gdb-patches mailing list.
> >
> > Thanks.
> >
> >
> > H.J.
> > ----
> > 2008-07-30 Xuepeng Guo <xuepeng.guo@intel.com>
> > H.J. Lu <hongjiu.lu@intel.com>
> >
> > * amd64-tdep.c (amd64_frame_cache): Add saved_sp_reg.
> > (amd64_init_frame_cache): Initialize saved_sp_reg.
> > (amd64_analyze_stack_align): New.
> > (amd64_analyze_prologue): Call it.
> > (amd64_frame_cache): Try to use saved_sp_reg if frame is invalid.
> >
> > * amd64-tdep.h (amd64_regnum): Add AMD64_R9_REGNUM to
> > AMD64_R14_REGNUM.
> >
> > * i386-tdep.c (i386_frame_cache): Remove stack_align. Add
> > saved_sp_reg.
> > (i386_alloc_frame_cache): Remove stack_align. Initialize
> > saved_sp_reg to I386_ESP_REGNUM.
> > (i386_analyze_stack_align): Rewrite.
> > (i386_frame_cache): Use saved_sp_reg only if frame is invalid.
> >
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-06 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-06 17:08 PING PATCH: Update x86 stack align analyzer H.J. Lu
2008-08-06 18:04 ` Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox