This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix small problems in rs6000-tdep.c:skip_prologue()
- From: Joel Brobecker <brobecker at gnat dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: Jim Blandy <jimb at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Fri, 14 May 2004 23:00:24 -0700
- Subject: Re: [RFA] Fix small problems in rs6000-tdep.c:skip_prologue()
- References: <20040402183637.GC871@gnat.com> <vt2u1026q1j.fsf@zenia.home> <20040417051545.GO22414@gnat.com> <20040508001600.GH16083@gnat.com> <vt2r7tmlkjs.fsf@zenia.home> <20040514170539.4727eec9@saguaro>
> > > > 2004-04-16 Joel Brobecker <brobecker@gnat.com>
> > > >
> > > > * rs6000-tdep.c (store_param_on_stack_p): New function,
> > > > an improved version of some code extracted from skip_prologue().
> > > > (skip_prologue): Use store_param_on_stack_p() to detect
> > > > instructions saving a parameter on the stack. Detect when r0
> > > > is used to save a parameter.
> > > > Do not mark "li rx, SIMM" instructions as part of the prologue,
> > > > unless the following instruction is also part of the prologue.
>
> Joel, your revised patch is approved.
Thanks a lot. I've checked the patch in.
--
Joel