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 for invalid hw breakpoints


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


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