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: Andrew Cagney <ac131313 at redhat dot com>
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 25 Sep 2002 09:57:45 -0400
- Subject: Re: [rfc/rfa:doco] Revised Z packet spec
- References: <3D669A90.50401@ges.redhat.com> <9003-Sat24Aug2002122403+0300-eliz@is.elta.co.il> <3D8A57B9.3000306@ges.redhat.com> <2427-Fri20Sep2002235342+0300-eliz@is.elta.co.il>
Yes I think it does. It produces
`'
and that (minus the quotes) is what is returned by the remote target.
I'd suggest to say "an empty string" explicitly. Just `' might look
like a typo.
Done.
Andrew
2002-09-25 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo (Packets): Replace @samp{} with ``an empty string''.
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.125
diff -u -r1.125 gdb.texinfo
--- gdb.texinfo 24 Sep 2002 14:30:36 -0000 1.125
+++ gdb.texinfo 25 Sep 2002 13:55:52 -0000
@@ -15271,9 +15271,9 @@
Each breakpoint and watchpoint packet @var{type} is documented
separately.
-@emph{Implementation notes: A remote target shall return @samp{} for an
-unrecognized breakpoint or watchpoint packet @var{type}. A remote
-target shall support either both or neither of a given
+@emph{Implementation notes: A remote target shall return an empty string
+for an unrecognized breakpoint or watchpoint packet @var{type}. A
+remote target shall support either both or neither of a given
@code{Z}@var{type}@dots{} and @code{z}@var{type}@dots{} packet pair. To
avoid potential problems with duplicate packets, the operations should
be implemented in an idempotent way.}