This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Add possibility to force buffering mode for stdout/stderr
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 21 Aug 2013 18:52:24 +0300
- Subject: Re: [RFC] Add possibility to force buffering mode for stdout/stderr
- References: <"001201ce9e80$4b90b3e0$e2b21ba0$ at muller"@ics-cnrs.unistra.fr>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> Date: Wed, 21 Aug 2013 17:08:29 +0200
>
> This patch add
> setvbuf wrapping inside ui_file structure.
>
> This maintenance feature is
> to allow to test the effect of
> changing the buffering mode on the testsuite output.
>
> basically adding
> "-ex {maint setvbuf stdout full 1000000}"
> or
> "-ex {maint setvbuf stdout line 80}"
> should allow to test both performance differences
> induced by buffering changes and possible regressions
> in testsuite results.
Thanks.
Please also document this command in the manual.