This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFA/RFC: vCont for the remote protocol [doco]
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 29 Sep 2003 11:29:11 -0400
- Subject: RFA/RFC: vCont for the remote protocol [doco]
Documentation, as promised. Reserves the `v' letter for multi-letter
packets.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2003-09-29 Daniel Jacobowitz <drow@mvista.com>
* gdb.texinfo (Remote Protocol): Document v and vCont.
Index: doc/gdb.texinfo
===================================================================
RCS file: /big/fsf/rsync/src-cvs/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.175
diff -u -p -r1.175 gdb.texinfo
--- doc/gdb.texinfo 9 Aug 2003 15:10:09 -0000 1.175
+++ doc/gdb.texinfo 29 Sep 2003 14:32:55 -0000
@@ -19781,9 +19781,33 @@ Reserved for future use.
Reserved for future use.
-@item @code{v} --- reserved
+@item @code{v} --- verbose packet prefix
-Reserved for future use.
+Packets starting with @code{v} are identified by a multi-letter name,
+up to the first @code{:} if any.
+
+@item @code{vCont:}[@var{action}@code{:}@var{tid}@code{;}]...[@var{action}] --- extended resume
+@cindex @code{vCont} packet
+
+Resume the inferior. Different actions may be specified for each thread.
+If a final action is specified, then it is applied to all threads not
+explicitly mentioned; if no final action is specified, all other threads
+should remain stopped. Possible actions are @code{s}, @code{S}@var{sig},
+@code{c}, and @code{C}@var{sig}, with the same meanings as those packets.
+The final @var{addr} associated with those packets is not supported in
+@code{vCont}. Thread IDs are specified in hexadecimal.
+
+First reply:
+@table @samp
+@item OK
+for success
+@item E@var{NN}
+for an error
+@end table
+
+If the first reply is @samp{OK}, then the inferior will be resumed, and
+another reply sent when it stops. @xref{Stop Reply Packets}, for the reply
+specifications.
@item @code{V} --- reserved