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 Fri, 2010-11-26 at 13:10 +0200, Eli Zaretskii wrote:
> > > So that's way I created a target_insert_ranged_watchpoint. The other
> > > option would be to add a flag to target_insert_watchpoint...
> > 
> > It appears to me that if there should be a new kind of way to
> > insert watchpoints, it should be to allow setting watchpoints
> > that only work if the accesses are aligned
> 
> What would be the use-cases where such behavior would be needed?

In the case of embedded PowerPC processors, that's the only kind of
watchpoint available using a single watchpoint register.

To create a "regular" watchpoint in that platform, you need two
watchpoint registers, from a total of two available in the processor.
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center


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