From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102410 invoked by alias); 14 Jun 2017 16:21:41 -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 100772 invoked by uid 89); 14 Jun 2017 16:21:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:static. X-HELO: mail-io0-f181.google.com Received: from mail-io0-f181.google.com (HELO mail-io0-f181.google.com) (209.85.223.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Jun 2017 16:21:38 +0000 Received: by mail-io0-f181.google.com with SMTP id y77so3591077ioe.3 for ; Wed, 14 Jun 2017 09:21:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=/rFovPyUpQ1k8c52xlKybbItBIIBlcISE/E6KL43JMw=; b=Gr93xkimlawWm6tH+e5vrkz6XR6E+Q0m69q6I/n2L1lNValWoVpaPuAlyxZ1wl25gy KpHAaOEVFNjNYJtvclmBm8c3f4ikn3EHlnAYOogmr2Gfw9ryyObU+PdhsGhbWvvNCt34 I56wPsQQWi5ZSw7iGzvGkIvWimGekrggeneWynpfcwOy/lYEB/Y/qxB8HoGDiGtXLV4S wyX/WFj64pbhPe4P0PaF5piOtzYv7UyNMEFFIsu0swrCV9Nf2ER16f9fUeBbblvDRkrZ 9k9yhLKTcoKM6r5JYL82y8Yl0ikSYbmTg1FJnajT4d32tM8EZOjrn3pB5MJJSCTjyhmH iwEg== X-Gm-Message-State: AKS2vOwFM8awyA0fwIagE9+JzlzwSEuLwSZ1tnNeJu5Alu4IuLzxPdnJ TY1sN10tILbA6FO+ X-Received: by 10.107.36.3 with SMTP id k3mr892337iok.130.1497457301735; Wed, 14 Jun 2017 09:21:41 -0700 (PDT) Received: from E107787-LIN (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id u87sm203160ioi.34.2017.06.14.09.21.40 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 14 Jun 2017 09:21:41 -0700 (PDT) From: Yao Qi To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 06/25] Generate c for feature instead of tdesc References: <1497256916-4958-1-git-send-email-yao.qi@linaro.org> <1497256916-4958-7-git-send-email-yao.qi@linaro.org> <837f0h5kjz.fsf@gnu.org> <86wp8gccqv.fsf@gmail.com> <83h8zk3pu3.fsf@gnu.org> <86k24fdhvf.fsf@gmail.com> <83efun520e.fsf@gnu.org> Date: Wed, 14 Jun 2017 16:21:00 -0000 In-Reply-To: <83efun520e.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 13 Jun 2017 18:41:05 +0300") Message-ID: <867f0ewne7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00427.txt.bz2 Eli Zaretskii writes: > But that means the produced file can only be used by rebuilding GDB, > doesn't it? If so, the text should make this clear, I think. > Yes. The last sentence is about it, "The created source file is built into @value{GDBN}", but I didn't explicitly say GDB needs rebuild. > (In general, since GDB is a compiled program which cannot easily be > modified without rebuilding it, I wonder how useful this feature will > be. But I'll yield to your expertise on that.) This command is only used by developers after they add or modify XML target descriptions. I don't think GDB users will use this command. A question in general, do we really need to document these commands, which are used for GDB development, in GDB user manual? These commands are "maint print c-tdesc", "maint check xml-descriptions" (added by one patch in this series), and "maint selftest". Can we remove them from the user manual? --=20 Yao (=E9=BD=90=E5=B0=A7)