This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB/MI Output syntax


Hi,

Below is a patch that adds a much needed newline into the
out-of-band-record. This makes the grammar match the output of GDB and
was hinted to that it was just a typo to not have it there.

Permission to apply?

Thanks,
Bob Rossi

Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.212
diff -w -u -r1.212 gdb.texinfo
--- gdb.texinfo 30 Jul 2004 19:23:54 -0000      1.212
+++ gdb.texinfo 24 Aug 2004 19:17:49 -0000
@@ -14674,7 +14674,7 @@
 @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{stream-record} ) @var{nl}}

 @item @var{async-record} @expansion{}
 @code{@var{exec-async-output} | @var{status-async-output} | @var{notify-async-output}}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]