From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4805 invoked by alias); 29 Sep 2003 15:29:12 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4786 invoked from network); 29 Sep 2003 15:29:12 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 29 Sep 2003 15:29:12 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A3zxX-00064d-De for ; Mon, 29 Sep 2003 11:29:11 -0400 Date: Mon, 29 Sep 2003 15:29:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: RFA/RFC: vCont for the remote protocol [doco] Message-ID: <20030929152911.GA23320@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i X-SW-Source: 2003-09/txt/msg00624.txt.bz2 Documentation, as promised. Reserves the `v' letter for multi-letter packets. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer 2003-09-29 Daniel Jacobowitz * 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