This is the mail archive of the gdb-prs@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]

[Bug breakpoints/11021] watch foo(x) -> infinite recursion


------- Additional Comments From pedro at codesourcery dot com  2010-08-14 03:03 -------
Yeah, I saw this too today.

This is most probably gdb evaluating the expression when the call dummy
breakpoint is hit.  Maybe we should skip that if we hit the call dummy
breakpoint (and we're not stopping for any other reason).  May be tricky to
get right.  Hmm, with software watchpoints it may even be impossible to
get right.

There's the option of detecting this at watchpoint creation time,
and just say you can't do that Dave.  Better than what we have today.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


http://sourceware.org/bugzilla/show_bug.cgi?id=11021

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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