This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: remote.c Z0 packet detection robustness
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jonathan Larmour <jifl at eCosCentric dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 27 Jun 2008 12:37:48 -0400
- Subject: Re: remote.c Z0 packet detection robustness
- References: <48650D79.6080502@eCosCentric.com>
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