This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Forbid watchpoint on a constant value
> Thanks for your review. I don't really have a strong opinion about it,
> but your suggestion sounds pretty reasonable to me. Since Jan is the
> co-author of this patch, I'll wait to see what he thinks about it.
I don't have a strong opinion on it either, which is why I am interested
in other people's thoughts on it. What was your own motivation behind
this? I guess some user inserted a watchpoint on something constant,
and then waited for ages for the watchpoint to trigger, thinking that
the slowness was due to the watchpoint, not his, er... silliness :-P?
--
Joel