This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/3] Implement support for PowerPC BookE ranged watchpoints
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Thiago Jung Bauermann <bauerman at br dot ibm dot com>, Jan Kratochvil <jan dot kratochvil at redhat dot com>, Eli Zaretskii <eliz at gnu dot org>
- Date: Fri, 24 Dec 2010 06:50:35 +0400
- Subject: Re: [patch 2/3] Implement support for PowerPC BookE ranged watchpoints
- References: <1290549100.3164.47.camel@hactar> <201011271747.39053.pedro@codesourcery.com> <1293130182.14239.21.camel@hactar> <201012232017.11120.pedro@codesourcery.com>
> 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