This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Unbuffer stdout and stderr on windows
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: Pedro Alves <palves at redhat dot com>, Eli Zaretskii <eliz at gnu dot org>, gdb-patches at sourceware dot org
- Date: Fri, 23 Aug 2013 06:38:55 -0700
- Subject: Re: [PATCH] Unbuffer stdout and stderr on windows
- References: <520E1109 dot 7000304 at redhat dot com> <520E1C34 dot 2000907 at codesourcery dot com> <520E2B13 dot 8020706 at redhat dot com> <83r4dtn35q dot fsf at gnu dot org> <520E357E dot 6080803 at redhat dot com> <83mwohn0nj dot fsf at gnu dot org> <520E40CD dot 7080604 at redhat dot com> <5215AC28 dot 3030506 at codesourcery dot com> <20130822141756 dot GB5221 at adacore dot com> <5216C6B0 dot 90906 at codesourcery dot com>
> > 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