Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Vladimir Prus <ghost@cs.msu.su>, gdb@sources.redhat.com
Subject: Re: printfs output in wrong order in MI
Date: Fri, 14 Apr 2006 13:38:00 -0000	[thread overview]
Message-ID: <20060414131741.GD12955@nevyn.them.org> (raw)
In-Reply-To: <upsjl3jza.fsf@gnu.org>

On Thu, Apr 13, 2006 at 12:25:45PM +0300, Eli Zaretskii wrote:
> > I think it's reasonable to expect that *all* output of command
> > wrapped in "-interpreter-exec console" would appears before the
> > "^done" marker.
> 
> Is it?  I wouldn't know; I'll let other front-end gurus to comment on
> that.

I agree.

Suppose you define a user defined command with multiple printfs; even
from MI, we don't need to (or want to) flush between them.  But when
-interpreter-exec return ^done, it ought to be ^done.  Flushing the
output streams explicitly before then seems like a good idea to me.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2006-04-14 13:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-12 16:54 Vladimir Prus
2006-04-13  8:02 ` Vladimir Prus
2006-04-13  8:10   ` Eli Zaretskii
2006-04-13  8:20     ` Vladimir Prus
2006-04-13 16:04       ` Eli Zaretskii
2006-04-14 13:38         ` Daniel Jacobowitz [this message]

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=20060414131741.GD12955@nevyn.them.org \
    --to=drow@false.org \
    --cc=eliz@gnu.org \
    --cc=gdb@sources.redhat.com \
    --cc=ghost@cs.msu.su \
    /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