read watchpoints ignored?
Daniel Jacobowitz
drow@false.org
Mon Nov 14 14:42:00 GMT 2005
On Mon, Nov 14, 2005 at 06:38:20AM +0200, Eli Zaretskii wrote:
> We need to find a way to get GDB to check whether the watchpoint fired
> during such stepping.
>
> > I'm talking about watchpoint_check. If that had been called, we would
> > have updated the value stored in the watchpoint for "a", and at the
> > next read watchpoint, it would not appear to have changed.
>
> I think we need call watchpoint_check only if
> target_stopped_data_address says the watchpoint fired.
I'm not sure if we can call watchpoint_check when not checking bpstats;
too much context. In any case, for now we only need to fix one of the
two bugs; what do you think of the patch I just posted?
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gdb
mailing list