This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] add 'rs6000_in_function_epilogue_p()'
- From: Jim Blandy <jimb at red-bean dot com>
- To: pgilliam at us dot ibm dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 30 Nov 2005 21:21:43 -0800
- Subject: Re: [PATCH] add 'rs6000_in_function_epilogue_p()'
- References: <200511301225.56802.pgilliam@us.ibm.com>
I'm not objecting to the patch, but following the links to the other
messages I didn't really see an explanation as to how incorrectly
recognizing the prologue causes the watchpoints to be deleted early.
I assume we're talking about a case like:
- we're in some function foo
- we set a watchpoint on one of its local variables
- we step through a call from foo to bar
- as we exit bar, the watchpoint gets deleted, even though it's in the
frame we're returning to, not the frame that is exiting.
Is that right? How does correctly recognizing the prologue fix this?