This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: watchpoint count wrong, think-o
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- To: ac131313 at ges dot redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 21 Sep 2002 00:38:28 +0300
- Subject: Re: watchpoint count wrong, think-o
- References: <3D8A7AC1.1000502@ges.redhat.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Thu, 19 Sep 2002 21:32:49 -0400
> From: Andrew Cagney <ac131313@ges.redhat.com>
>
> - should the number of elements needed be cached in the breakpoint
> structure, or
> - re-computed each time
>
> I think a cache is safe since I can't see how the number of elements
> would change. It would also avoid any overhead in re-calling
> TARGET_REGION_OK_FOR_HW_WATCHPOINT().
I agree on both accounts.