This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: document issue about GDB/MI output syntax
- From: Joel Brobecker <brobecker at adacore dot com>
- To: asmwarrior <asmwarrior at gmail dot com>
- Cc: GDB Development <gdb at sourceware dot org>
- Date: Thu, 19 Dec 2013 22:07:43 +0400
- Subject: Re: document issue about GDB/MI output syntax
- Authentication-results: sourceware.org; auth=none
- References: <52B2A623 dot 2070009 at gmail dot com>
> Hi, I just found in this page:
> https://sourceware.org/gdb/current/onlinedocs/gdb/GDB_002fMI-Output-Syntax.html#GDB_002fMI-Output-Syntax
> The syntax is not correct:
>
> console-stream-output ==>
> "~" c-string
> target-stream-output ==>
> "@" c-string
> log-stream-output ==>
> "&" c-string
>
> It should be:
>
> console-stream-output ==>
> "~" c-string nl
> target-stream-output ==>
> "@" c-string nl
> log-stream-output ==>
> "&" c-string nl
>
> There is a "nl" missing in those stream-record, right?
I haven't verified with actual behavior, but something doesn't
look right indeed. However, I am wondering if we shouldn't
put the "nl" at the end of each [...]-record rule. Looking
at the grammar as currently written, I think we have issues
with other records.
--
Joel