This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Watchpoint conditions broken?
> Date: Wed, 9 Apr 2008 16:29:07 -0400
> From: "Marc Khouzam" <marc.khouzam@ericsson.com>
>
> I tried to investigate, but I couldn't figure out where the watchpoint condition
> was actually checked after the watchpoint was hit... Or are hardware watchpoints
> not supposed to be triggered at all, if the condition is not satisfied?
Hardware watchpoints _are_ supposed to trigger, but once they do, GDB
should see that the condition is false, and not announce the
watchpoint.
> Below is a very small tests that shows the problem.
> This is not normal, right?
No, it's a bug.