Re: patch for invalid hw breakpoints

Nathan Sidwell
2006-06-01T18:33:42Z

Nathan Sidwell wrote:

> The remote stub can deal with this, but the functionality detection code
> in remote.c cannot. In particular this bit of code in
> remote_remove_watchpoint triggers because the just attempted
> remote_insert_watchpoint call has now set the support field to
> PACKET_DISABLE.

one thing that may not be clear from what I said is that this particular stub
does not support Z2 packets, so returns an empty response as required by the gdb
protocol. If the stub did support Z2 packets, it would have to deal with
duplicates.

nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk