This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: watchpoint count wrong, think-o


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]