gdb/
authorYao Qi <yao@codesourcery.com>
Wed, 28 Aug 2013 12:25:05 +0000 (12:25 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 28 Aug 2013 12:25:05 +0000 (12:25 +0000)
commitffa4ac956c9389aee7e46708492f61fdd69cd845
tree8e86ad404795f41d9d7a88dcec2bf69b668f9a33
parent7e1050317266448c0496db46eadd546410b07c0a
gdb/

* event-top.c (gdb_setup_readline): Call stderr_fileopen
instead of stdio_fileopen.
* main.c (captured_main) [__MINGW32__]: Set stderr unbuffered.
.Call stderr_fileopen instead of stdio_fileopen.
* ui-file.c [__MINGW32__] (stderr_file_write): New function.
[__MINGW32__] (stderr_file_fputs): New function.
(stderr_fileopen): New function.
* ui-file.h (stderr_fileopen): Declare.
gdb/ChangeLog
gdb/event-top.c
gdb/main.c
gdb/ui-file.c
gdb/ui-file.h