From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15955 invoked by alias); 22 Dec 2013 07:38:19 -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 15945 invoked by uid 89); 22 Dec 2013 07:38:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f175.google.com Received: from mail-pd0-f175.google.com (HELO mail-pd0-f175.google.com) (209.85.192.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 22 Dec 2013 07:38:17 +0000 Received: by mail-pd0-f175.google.com with SMTP id w10so4116386pde.20 for ; Sat, 21 Dec 2013 23:38:15 -0800 (PST) X-Received: by 10.68.189.5 with SMTP id ge5mr18771908pbc.42.1387697895202; Sat, 21 Dec 2013 23:38:15 -0800 (PST) Received: from [192.168.1.103] ([115.199.135.191]) by mx.google.com with ESMTPSA id bh6sm33606794pad.20.2013.12.21.23.38.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Dec 2013 23:38:14 -0800 (PST) Message-ID: <52B69693.10107@gmail.com> Date: Sun, 22 Dec 2013 07:38:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: [RFC, doc] fix document error on the grammar of GDB/MI output format syntax Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-12/txt/msg00860.txt.bz2 Hi, I noticed that GDB has a "new line" in the end of "out-of-band-record". But the document does not correctly describe this. See here: https://sourceware.org/gdb/current/onlinedocs/gdb/GDB_002fMI-Output-Syntax.html#GDB_002fMI-Output-Syntax Some discussion has already in GDB maillist, see: https://sourceware.org/ml/gdb/2013-12/msg00058.html As Joel suggested there that the change should be both reviewed by Eli and some GDB maintainer. The change log could be: Fix syntax description error about GDB/MI "out-of-band-record", there should be a "new line" in end. Thanks. Yuanhui Zhang gdb/doc/gdb.texinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index b7551c2..a8b888c 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -29160,7 +29160,7 @@ corresponding output for that command will also be prefixed by that same @code{ [ @var{token} ] "^" @var{result-class} ( "," @var{result} )* @var{nl}} @item @var{out-of-band-record} @expansion{} -@code{@var{async-record} | @var{stream-record}} +@code{@var{async-record} @var{nl} | @var{stream-record} @var{nl}} @item @var{async-record} @expansion{} @code{@var{exec-async-output} | @var{status-async-output} | @var{notify-async-output}}