Re: [PATCH] add 'rs6000_in_function_epilogue_p()'

Jim Blandy
2005-12-01T05:21:47Z

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?