[PATCH] Forbid watchpoint on a constant value
Joel Brobecker
brobecker@adacore.com
Thu May 20 23:55:00 GMT 2010
> 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
More information about the Gdb-patches
mailing list