From a838547bbecd611cedd059911d95c6790871d63e Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 23 Dec 2013 04:25:14 +0400 Subject: [PATCH] Small fixes to the GDB/MI Output Syntax grammar. This patch fixes the grammar, and tries to do it in a way that makes the logic behind the current implementation a little clearer. gdb/doc/ChangeLog: (from Yao Qi ) (from Joel Brobecker ) * gdb.texinfo (GDB/MI Output Syntax): Add some missing "nl" markers. Remove one that was misplaced. --- gdb/doc/gdb.texinfo | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index b7551c2..f852c53 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -29166,16 +29166,16 @@ corresponding output for that command will also be prefixed by that same @code{@var{exec-async-output} | @var{status-async-output} | @var{notify-async-output}} @item @var{exec-async-output} @expansion{} -@code{[ @var{token} ] "*" @var{async-output}} +@code{[ @var{token} ] "*" @var{async-output nl}} @item @var{status-async-output} @expansion{} -@code{[ @var{token} ] "+" @var{async-output}} +@code{[ @var{token} ] "+" @var{async-output nl}} @item @var{notify-async-output} @expansion{} -@code{[ @var{token} ] "=" @var{async-output}} +@code{[ @var{token} ] "=" @var{async-output nl}} @item @var{async-output} @expansion{} -@code{@var{async-class} ( "," @var{result} )* @var{nl}} +@code{@var{async-class} ( "," @var{result} )*} @item @var{result-class} @expansion{} @code{"done" | "running" | "connected" | "error" | "exit"} @@ -29207,13 +29207,13 @@ depending on the needs---this is still in development). @code{@var{console-stream-output} | @var{target-stream-output} | @var{log-stream-output}} @item @var{console-stream-output} @expansion{} -@code{"~" @var{c-string}} +@code{"~" @var{c-string nl}} @item @var{target-stream-output} @expansion{} -@code{"@@" @var{c-string}} +@code{"@@" @var{c-string nl}} @item @var{log-stream-output} @expansion{} -@code{"&" @var{c-string}} +@code{"&" @var{c-string nl}} @item @var{nl} @expansion{} @code{CR | CR-LF} -- 1.8.3.2