This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/11021] watch foo(x) -> infinite recursion
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 14 Aug 2010 03:03:35 -0000
- Subject: [Bug breakpoints/11021] watch foo(x) -> infinite recursion
- References: <20091125214957.11021.ppluzhnikov@google.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.