This is the mail archive of the gdb-prs@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]

[Bug gdb/15791] Without TTY, the order of output in stdout and stderr is undetermined


http://sourceware.org/bugzilla/show_bug.cgi?id=15791

Peter Schauer <peter.schauer at mytum dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter.schauer at mytum dot de

--- Comment #1 from Peter Schauer <peter.schauer at mytum dot de> ---
This is a general problem with all native windows console applications
running under a cygwin shell with cygwin ttys.
I am not sure if GDB should work around this general problem.

A solution is provided by
https://github.com/rprichard/winpty
https://github.com/downloads/rprichard/winpty/winpty-0.1.1-cygwin.zip

If you install the package und then run
console /home/yao/Source/gnu/gdb/build-git/x86/gdb/gdb
stdout and stderr will work as expected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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