This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/15791] Without TTY, the order of output in stdout and stderr is undetermined
- From: "peter.schauer at mytum dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 26 Jul 2013 16:15:09 +0000
- Subject: [Bug gdb/15791] Without TTY, the order of output in stdout and stderr is undetermined
- Auto-submitted: auto-generated
- References: <bug-15791-4717 at http dot sourceware dot org/bugzilla/>
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.