From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15960 invoked by alias); 30 Sep 2003 15:37:01 -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 15951 invoked from network); 30 Sep 2003 15:37:00 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 30 Sep 2003 15:37:00 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2BB002B89; Tue, 30 Sep 2003 11:37:00 -0400 (EDT) Message-ID: <3F79A31C.8050403@redhat.com> Date: Tue, 30 Sep 2003 15:37:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: RFA/RFC: vCont for the remote protocol [doco] References: <20030929152911.GA23320@nevyn.them.org> <3F78A178.5000302@redhat.com> <20030929212507.GA12032@nevyn.them.org> <3F799541.4070009@redhat.com> <20030930145103.GA26117@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg00657.txt.bz2 > packet ->> "vCont" { field }+ >> field ->> ";" action [ ":" tid ] >> >> which is very easy to parse. BTW, intro has this to say, so there >> aren't any guidelines :-( > > > That loses the requirement that the default action be last, which I'd > like to hold on to - OK? Was that to ensure that there wasn't more than one default action? I think its better to instead clarify that in the text part of the spec vis: "By default all unspecified threads remain stopped. An action with no corresponding {tdid} shall be applied to all threads with out an explicitly specified action. A packet specifying multiple default actions is erreneous." Looking at the new gdbserver code it's pratically doing this now. BTW, I think it gets confused by the incorrect "...;cccccccccc", simplifying to be strictly LL1 will fix that. > I dislike the ';' because vCont is not an item in the list of actions > that the semicolons are separating; that turns ';' from a separator > into a prefix. But hey, prefixes are people too. Seperator or terminator? Andrew