Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFC, doc] fix document error on the grammar of GDB/MI output format syntax
@ 2013-12-22  7:38 asmwarrior
  2013-12-22  8:09 ` Joel Brobecker
  0 siblings, 1 reply; 9+ messages in thread
From: asmwarrior @ 2013-12-22  7:38 UTC (permalink / raw)
  To: gdb-patches

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}}


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-01-15 12:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-22  7:38 [RFC, doc] fix document error on the grammar of GDB/MI output format syntax asmwarrior
2013-12-22  8:09 ` Joel Brobecker
2013-12-22 11:33   ` asmwarrior
2013-12-22 16:18     ` Eli Zaretskii
2013-12-23  0:41     ` Joel Brobecker
2013-12-23  1:18       ` asmwarrior
2013-12-23  1:29         ` Joel Brobecker
2013-12-23  1:39           ` asmwarrior
2014-01-15 12:23       ` [pushed] " Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox