[patch 2/3] Implement support for PowerPC BookE ranged watchpoints
Thiago Jung Bauermann
bauerman@br.ibm.com
Sat Nov 27 13:25:00 GMT 2010
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
More information about the Gdb-patches
mailing list