This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: TARGET_REGION_OK_FOR_HW_WATCHPOINT in target vector
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- To: ac131313 at ges dot redhat dot com
- Cc: gdb at sources dot redhat dot com
- Date: Sat, 21 Sep 2002 00:39:36 +0300
- Subject: Re: TARGET_REGION_OK_FOR_HW_WATCHPOINT in target vector
- References: <3D8A7C51.5040108@ges.redhat.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> 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?