This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Unbuffer stdout and stderr on windows


> Date: Fri, 16 Aug 2013 20:33:56 +0800
> From: Yao Qi <yao@codesourcery.com>
> CC: <gdb-patches@sourceware.org>, <brobecker@adacore.com>, Eli Zaretskii
> 	<eliz@gnu.org>
> 
> However, we didn't have an agreement on what to set for stdout.  As you 
> posted above, on Win32, stdout can be either full buffered or 
> non-buffered.  If we change stdout to non-buffered, there are two 
> concerns, 1) GDB will slow down, 2) cause troubles to front-end, like Emacs.
> 
> Is it useful to reduce the concerns by measuring the slow down and 
> testing patched GDB under Emacs?

Not sure such a research will be worth our while.

How about a command-line option to do this, something that was
proposed before?  Would people feel less divided about that?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]