From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111667 invoked by alias); 15 Sep 2016 16:09:15 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 111657 invoked by uid 89); 15 Sep 2016 16:09:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=reserved, our X-HELO: mail-oi0-f46.google.com Received: from mail-oi0-f46.google.com (HELO mail-oi0-f46.google.com) (209.85.218.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 15 Sep 2016 16:09:04 +0000 Received: by mail-oi0-f46.google.com with SMTP id r126so76469981oib.0 for ; Thu, 15 Sep 2016 09:09:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=WkeqrXxoxEgSiy9yneEbbSN9zmjneU5Q0f/M36/IF8M=; b=HJysKGX22QWopCf+albAzTqd1KYhJg1KhJ8J4e9oKxzybfjy3cAcmbSBpHvv9nSjBz uEU/5pi9Ze4E+pv47H2/QGNUoGwW/B2RWItvE3jVyfN2c2BxF/HadFa6HGuklDydmken A5sdzlEFKawuKXxlPrNkGBxgE+eUXrz9owqKa+7Qk4OhWHOKG+bV9qtnUp0QVwYF/Xzc oCYu50MuK5KEwwIrQkLSjlkuPtx8pWW44KrYMMOwmE2jkrIvF2s3t2ylFayT14YCLRlM 5qoqhTkAx+dkRDRfFu5uh/xfGkRckNtxF1KIkCukD6OZlM+oxzuLGpzkC58eMm871hFE Mz+w== X-Gm-Message-State: AE9vXwOlkccADSl9RQREudp77yixIh+KHtJMz44kTj6fg5y6TQd59avJMaFw6CEAiYuRZvz3kpk3SpderSQMig== X-Received: by 10.202.2.136 with SMTP id 130mr8122391oic.134.1473955743210; Thu, 15 Sep 2016 09:09:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.242.68 with HTTP; Thu, 15 Sep 2016 09:09:02 -0700 (PDT) In-Reply-To: <87eg4mrsvg.fsf@tromey.com> References: <1473819514-18403-1-git-send-email-tom@tromey.com> <87eg4mrsvg.fsf@tromey.com> From: Yao Qi Date: Thu, 15 Sep 2016 16:09:00 -0000 Message-ID: Subject: Re: [RFA] Small improvements to the remote protocol manual To: Tom Tromey Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00163.txt.bz2 On Wed, Sep 14, 2016 at 11:58 PM, Tom Tromey wrote: > Also, I forgot to note here that I didn't understand the documentation > for the "A" packet; but when I looked at the code I couldn't find it in > either gdb or gdbserver. So, I wonder if it ought to be deleted. > The "A" packet was added in 1999 as a "reserved" packet, +@item set program arguments @strong{(reserved)} @emph{(optional)} +@tab @code{A}@var{arglen}@code{,}@var{argnum}@code{,}@var{arg}@code{,...} but the "reserved" marker is removed in b8ff78cefa335846b4303f303847a4d69e652795 (2005), - Remove "(reserved)" markers on 'A' and 'I' packets; it's unclear what this ever meant. Nowadays, we still can't pass arguments in remote debugging. If "A" still meets our needs, we can use it in the future to pass arguments. --=20 Yao (=E9=BD=90=E5=B0=A7)