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: remote.c Z0 packet detection robustness


On Fri, Jun 27, 2008 at 04:55:37PM +0100, Jonathan Larmour wrote:
> 2008-06-27  Jonathan Larmour  <jifl@eCosCentric.com>
> 
> 	* remote.c (remote_insert_breakpoint): Ensure that if Z0
> 	unsupported and we fall back to memory_insert_breakpoint, we
> 	use the unmodified requested address.

Thanks for the clear explanation.  This is almost OK - but you need to
update bp_tgt if Z0 succeeds.  Otherwise we may remove the breakpoint
incorrectly.


-- 
Daniel Jacobowitz
CodeSourcery


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