aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2013-12-23 04:25:14 +0400
committerJoel Brobecker <brobecker@adacore.com>2014-01-15 16:19:47 +0400
commitdcf106f37de996b7d7eb568382fbc9f403804174 (patch)
treed218372e9613f163d072a0fd87297188b6dc45ef /gdb/doc
parentc353e543fe20cb01262548486ee2c9af70608a01 (diff)
downloadfsf-binutils-gdb-dcf106f37de996b7d7eb568382fbc9f403804174.zip
fsf-binutils-gdb-dcf106f37de996b7d7eb568382fbc9f403804174.tar.gz
fsf-binutils-gdb-dcf106f37de996b7d7eb568382fbc9f403804174.tar.bz2
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 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.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo14
2 files changed, 13 insertions, 7 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index ecab738..9ec5fd4 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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>:
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index e4cff84..94e8d48 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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}