From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18543 invoked by alias); 23 Aug 2013 13:38:59 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 18533 invoked by uid 89); 23 Aug 2013 13:38:59 -0000 X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO autolearn=ham version=3.3.2 Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 23 Aug 2013 13:38:58 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4B400116807; Fri, 23 Aug 2013 09:39:03 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id odKf3rCZEwJL; Fri, 23 Aug 2013 09:39:03 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id D883E116581; Fri, 23 Aug 2013 09:39:02 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 3ABE0C3DA9; Fri, 23 Aug 2013 06:38:55 -0700 (PDT) Date: Fri, 23 Aug 2013 13:38:00 -0000 From: Joel Brobecker To: Yao Qi Cc: Pedro Alves , Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [PATCH] Unbuffer stdout and stderr on windows Message-ID: <20130823133855.GE5221@adacore.com> References: <520E1109.7000304@redhat.com> <520E1C34.2000907@codesourcery.com> <520E2B13.8020706@redhat.com> <83r4dtn35q.fsf@gnu.org> <520E357E.6080803@redhat.com> <83mwohn0nj.fsf@gnu.org> <520E40CD.7080604@redhat.com> <5215AC28.3030506@codesourcery.com> <20130822141756.GB5221@adacore.com> <5216C6B0.90906@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5216C6B0.90906@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-08/txt/msg00672.txt.bz2 > > Just a question: Would it be possible to emulate line buffering > > as well? In my experience, the size of the buffer is fairly big, > > and causes the output to appear only at fairly large intervals, > > and in fairly large blobs. > > I am not sure. The goal of this patch is to keep the order of outputs > from stdout and stderr correct, so I don't think much on emulating > line buffering for stdout. IMO, it can be addressed by a separated > patch. True! Let's keep the extra complexity out. Thanks for doing this, -- Joel