This is the mail archive of the gdb@sourceware.org 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]

Re: document issue about GDB/MI output syntax


> 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


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