Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: asmwarrior <asmwarrior@gmail.com>
Cc: GDB Development <gdb@sourceware.org>
Subject: Re: document issue about GDB/MI output syntax
Date: Thu, 19 Dec 2013 18:07:00 -0000	[thread overview]
Message-ID: <20131219180743.GJ26143@adacore.com> (raw)
In-Reply-To: <52B2A623.2070009@gmail.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


  reply	other threads:[~2013-12-19 18:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-19  7:55 asmwarrior
2013-12-19 18:07 ` Joel Brobecker [this message]
2013-12-20  1:25   ` asmwarrior
2013-12-20  3:38     ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131219180743.GJ26143@adacore.com \
    --to=brobecker@adacore.com \
    --cc=asmwarrior@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox