[patch 2/3] Implement support for PowerPC BookE ranged watchpoints

Joel Brobecker brobecker@adacore.com
Fri Dec 24 05:10:00 GMT 2010


> The resource accounting bits, I still say that they should all just
> go away (at some point), and gdb should just try to insert the
> watchpoint immediately, and see if the target refuses.  E.g., how could
> one sanely implement the accounting for remote targets?  The target
> is free to do all sorts of smart merging, and resource reusing, and
> in fact, x86 gdbserver does so (which is why the x86 and most
> other ports don't actually make use of the resource accounting
> interfaces, they just always accept watchpoints).

This sounds like a great idea to me!

And Thank You, Pedro, for handling this series of patches. You are
much more thorough and knowledgeable in that area than I could ever be.
Congrats to Thiago for seeing this through...

-- 
Joel



More information about the Gdb-patches mailing list