This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: Hardware watchpoints
> > I think it might be a good idea to also check v->lazy when we remove
> > watchpoints. What happens now is that GDB tries to remove watchpoints
> > it never set in the first place. The DJGPP implementation handles
> > this gracefully, but perhaps some other implementation of watchpoints
> > could become confused?
>
> Yes --- insert_breakpoints and remove_breakpoint should use exactly
> the same critera for generating watchpoints.
I will send the necessary changes.
> > Thanks again for the guidance.
>
> Jim makes wild suggestions, Eli finds the bugs! Good deal! :)
I have a few more problems with watchpoints up my sleeve. Stay
tuned ;-)