diff options
author | qiyao <qiyao> | 2013-08-28 12:25:05 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2013-08-28 12:25:05 +0000 |
commit | 97c7c9bb8c77d519ba87b9c9b2be362d334087b4 (patch) | |
tree | d706066e4cd70a3a05bb11aabe2d54a0a8482aa0 /gdb/event-top.c | |
parent | 64c0bdc1fa9e2290f94327b90b7c7dd19828154e (diff) | |
download | gdb-97c7c9bb8c77d519ba87b9c9b2be362d334087b4.tar.gz |
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.
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r-- | gdb/event-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index f00ab7d84e1..f1d55b3c2da 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -955,7 +955,7 @@ gdb_setup_readline (void) time. */ if (!batch_silent) gdb_stdout = stdio_fileopen (stdout); - gdb_stderr = stdio_fileopen (stderr); + gdb_stderr = stderr_fileopen (); gdb_stdlog = gdb_stderr; /* for moment */ gdb_stdtarg = gdb_stderr; /* for moment */ gdb_stdtargerr = gdb_stderr; /* for moment */ |