Small fixes to the GDB/MI Output Syntax grammar.
authorJoel Brobecker <brobecker@adacore.com>
Mon, 23 Dec 2013 00:25:14 +0000 (04:25 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Wed, 15 Jan 2014 12:19:47 +0000 (16:19 +0400)
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 Yuanhui Zhang  <asmwarrior@gmail.com>)
        (from Joel Brobecker  <brobecker@adacore.com>)
        * gdb.texinfo (GDB/MI Output Syntax): Add some missing "nl"
        markers.  Remove one that was misplaced.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index ecab7380622a174d24a7c5e313b5f12c784c422a..9ec5fd42ff0a2cf9791a8c9806dc5412b9acfb58 100644 (file)
@@ -1,3 +1,9 @@
+2014-01-15  Yuanhui Zhang  <asmwarrior@gmail.com>
+           Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.texinfo (GDB/MI Output Syntax): Add some missing "nl"
+       markers.  Remove one that was misplaced.
+
 2014-01-10  Pedro Alves  <palves@redhat.com>
 
        * gdb.texinfo (Your Program's Environment) <set environment>:
index e4cff848fe63944955662db80fc4cec23fa56934..94e8d48e2874cd3650d23d1715ccbc68e8eafab4 100644 (file)
@@ -29212,16 +29212,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"}
@@ -29253,13 +29253,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}