Re: document issue about GDB/MI output syntax
Joel Brobecker <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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