This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc/rfa:doco] Revised Z packet spec
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Andrew Cagney <cagney at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 23 Aug 2002 17:57:39 -0400
- Subject: Re: [rfc/rfa:doco] Revised Z packet spec
- References: <3D669A90.50401@ges.redhat.com>
cagney wrote:
> [...]
> * gdb.texinfo (Packets): Revise `z' and `Z' packet documentation.
> (Packets): Add cross reference from `b' packet to `z' packets.
> ! [...] To avoid potential problems with duplicate packets, the
> ! operations should be implemented in an idempotent way.
What's the intent of this? To what extent do you think these packets
need to be any differently idempotent from all the others?
> ! Insert (@code{Z0}) or remove (@code{z0}) a memory breakpoint at address
> ! @code{addr} of size @code{length}.
> ! [...]
> ! @emph{Implementation note: It is possible for a target to copy or move
> ! code that contains memory breakpoints (e.g., when implementing
> ! overlays). The behavior of this packet, in the presence of such a
> ! target, is not defined.}
Does this imply a promise by gdb that it will not make undefined
protocol calls?
- FChE