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


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