This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Watchpoints with condition
On Tue, Dec 04, 2007 at 02:34:28AM -0800, Michael Snyder wrote:
> My understanding (and I may be wrong) is that the conditional
> is not evaluated until the breakpoint is hit. Is it different
> for a watchpoint? Ah, wait, I think I see -- it's different
> for a SOFTWARE watchpoint, isn't it?
Shouldn't be, I don't think. The watched value will be evaluated
every time, but the condition shouldn't be unless the watched value
changes.
--
Daniel Jacobowitz
CodeSourcery