From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19644 invoked by alias); 9 May 2006 21:16:42 -0000 Received: (qmail 19611 invoked by uid 22791); 9 May 2006 21:16:37 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 May 2006 21:16:20 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k49LGHoj008622; Tue, 9 May 2006 17:16:17 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k49LGHIH023410; Tue, 9 May 2006 17:16:17 -0400 Received: from [172.16.50.119] (vpn50-119.rdu.redhat.com [172.16.50.119]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id k49LGGuD009158; Tue, 9 May 2006 17:16:16 -0400 Message-ID: <446106BF.3060307@redhat.com> Date: Tue, 09 May 2006 21:16:00 -0000 From: Andrew Cagney User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: Daniel Jacobwitz CC: gdb-patches@sourceware.org Subject: Re: RFA: Document conventions for terminating query/set packet names References: <20060503195650.GA13156@nevyn.them.org> <20060504015712.GA19810@nevyn.them.org> <8f2776cb0605032313s69362babjcda4e60fe33f9d6e@mail.gmail.com> <20060504123755.GA29302@nevyn.them.org> <8f2776cb0605041024u7c420707ie2fbff8a32ce32f0@mail.gmail.com> <20060505162544.GA31029@nevyn.them.org> <20060509204151.GA16263@nevyn.them.org> In-Reply-To: <20060509204151.GA16263@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00185.txt.bz2 Daniel Jacobowitz wrote: > Otherwise, here's a proposed > patch. It recommends not starting new packets with qC, and clarifies > that stubs should check for the end of a packet even for packets > without a separator. That was always the intent. Your wording is much improved. > The name of a query or set packet should be separated from any > parameters by a @samp{:}; the parameters themselves should be > separated by @samp{,} or @samp{;}. Stubs must be careful to match the > +full packet name, and check for a separator or the end of the packet, > +in case two packet names share a common prefix. New packets should not begin > +with @samp{qC}, @samp{qP}, or @samp{qL}@footnote{The @samp{qP} and @samp{qL} > +packets predate these conventions, and have arguments without any terminator > +for the packet name; we suspect they are in widespread use in places that > +are difficult to upgrade. The @samp{qC} packet has no arguments, but some > +existing stubs (e.g.@: RedBoot) are known to not check for the end of the > +packet.}. The qC vs qCRC botch also pre-dates this convention; and was one of its motivators.