This is the mail archive of the gdb-patches@sourceware.org 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: [patch 2/3] Implement support for PowerPC BookE ranged watchpoints


On Tuesday 23 November 2010 21:51:40, Thiago Jung Bauermann wrote:
> Ok?

Apologies for jumping in so late, but, I don't think I understand
why does the user need to know that a watchpoint is "ranged"
or not.  All (low-level) watchpoints are ranged, and what's
relevant here is only the width of the range the hardware can watch,
but that is already a parameter to the target_insert_watchpoint
method.  So I guess my question is, why can't the target backend
manage whether to use a range or "normal" watchpoint when asked to
inserted a watchpoint?  Is it the watch resource accounting done
by breakpoint.c (which is known to be something that should just
go away)?

-- 
Pedro Alves


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