Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: Pedro Alves <palves@redhat.com>
Cc: Tom Tromey <tromey@adacore.com>,  gdb-patches@sourceware.org
Subject: Re: [PATCH] Remove excess calls to gdb_flush
Date: Tue, 05 Mar 2019 17:54:00 -0000	[thread overview]
Message-ID: <87k1hdtdf0.fsf@tromey.com> (raw)
In-Reply-To: <63a71432-2cd2-cde9-0f27-0115f795334c@redhat.com> (Pedro Alves's	message of "Tue, 5 Mar 2019 17:06:31 +0000")

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> On 02/19/2019 08:54 PM, Tom Tromey wrote:
>> 
>> my belief being that gdb's standard output
>> streams are line buffered (by inheriting the behavior from stdio)

Pedro> That's only true if gdb is connected to a pty.  If gdb is started with
Pedro> a pipe or regular file for stdout/stderr instead, then it won't be.  I
Pedro> guess we could fix that with a setvbuf call at startup though.

I'll take a look.

Tom


  reply	other threads:[~2019-03-05 17:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 20:54 Tom Tromey
2019-02-19 22:12 ` Kevin Buettner
2019-03-05 15:56   ` Tom Tromey
2019-03-05 17:06 ` Pedro Alves
2019-03-05 17:54   ` Tom Tromey [this message]
2019-03-07  6:06     ` 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=87k1hdtdf0.fsf@tromey.com \
    --to=tromey@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@redhat.com \
    /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