This is the mail archive of the gdb-patches@sources.redhat.com 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: [rfc/rfa:doco] Revised Z packet spec


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


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