[RFA] breakpoint.c, scanning epilogue if frame chain is invalid

Corinna Vinschen vinschen@redhat.com
Thu Sep 4 17:25:00 GMT 2003


On Thu, Sep 04, 2003 at 07:53:40PM +0200, Eli Zaretskii wrote:
> > Date: Wed, 3 Sep 2003 13:18:28 +0200
> > From: Corinna Vinschen <vinschen@redhat.com>
> > 
> >   if (!within_current_scope ||     <==     fr == NULL
> >       fr == get_current_frame ())  <==  or fr != NULL and
> >                                            current frame == watchpoint frame
> >   then call gdbarch_in_function_epilogue_p(current pc).
> > 
> > So after the change gdbarch_in_function_epilogue_p() is also called if the
> > watchpoint frame couldn't be found because the frame chain is temporarily
> > broken.  Since this is very likely occuring in an epilogue, it's pretty
> > naturally to call gdbarch_in_function_epilogue_p().
> 
> Thanks for the explanations, I think this patch is correct.

Applied.

Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.



More information about the Gdb-patches mailing list