TARGET_REGION_OK_FOR_HW_WATCHPOINT in target vector

Eli Zaretskii eliz@is.elta.co.il
Fri Sep 20 14:39:00 GMT 2002


> Date: Thu, 19 Sep 2002 21:39:29 -0400
> From: Andrew Cagney <ac131313@ges.redhat.com>
> 
> The macro TARGET_REGION_OK_FOR_HW_WATCHPOINT() needs to be moved to the 
> target vector.

Yes.

> As part of this, I'd like to propose that its behavour be modified 
> slightly.  Instead of returning non-zero to indicate that the vaddr:len 
> is ok, it return the number of h/w watchpoint resources that are needed 
> to watch vaddr:len.

I don't see any problem with that change.  But do we really need it?
That is, where would this new functionality be used?



More information about the Gdb mailing list