This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] breakpoint.c, scanning epilogue if frame chain is invalid


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.


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