This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] add 'rs6000_in_function_epilogue_p()'


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?


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