[rfc/rfa:doco] Revised Z packet spec

Frank Ch. Eigler fche@redhat.com
Fri Aug 23 15:02:00 GMT 2002


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



More information about the Gdb-patches mailing list