Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <vladimir@codesourcery.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [MI, doc] flush output in -gdb-exit
Date: Thu, 17 Dec 2009 14:01:00 -0000	[thread overview]
Message-ID: <200912171701.07265.vladimir@codesourcery.com> (raw)
In-Reply-To: <20091217131332.GA15129@caradoc.them.org>

On Thursday 17 December 2009 16:13:32 Daniel Jacobowitz wrote:

> On Thu, Dec 17, 2009 at 10:46:03AM +0300, Vladimir Prus wrote:
> > 
> > I've noticed that under frontend, -gdb-exit may "timeout", even though it sends "^exit"
> > immediately. There was a flush missing. This patch adds it, and clarifies that frontend
> > should wait for GDB to actually exit, not just acknoledge the request.
> > 
> > OK?
> 
> This is OK (with changelog), although I don't see why it's necessary -
> when we exit, shouldn't that flush stdout?

It flushes stdout. However, it seems to my more convenient -- especially
when debugging frontend, if command response comes as soon as possible.

- Volodya


  reply	other threads:[~2009-12-17 14:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17  7:46 Vladimir Prus
2009-12-17 13:13 ` Daniel Jacobowitz
2009-12-17 14:01   ` Vladimir Prus [this message]
2009-12-17 15:12     ` Daniel Jacobowitz
2009-12-17 19:54 ` Eli Zaretskii
2009-12-21 10:02   ` Vladimir Prus

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=200912171701.07265.vladimir@codesourcery.com \
    --to=vladimir@codesourcery.com \
    --cc=drow@false.org \
    --cc=gdb-patches@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