This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
"set inferior-tty" on MS-Windows
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb-patches at sourceware dot org
- Date: Mon, 13 Aug 2012 20:40:33 +0300
- Subject: "set inferior-tty" on MS-Windows
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
Is this setting supposed to work in the MinGW build of GDB while
debugging programs natively? I think not, but maybe people here have
tricks up their sleeves.
For that matter, did someone succeed to separate the I/O of the
inferior from that of GDB itself, while using Emacs 24 (which uses
GDB/MI) as the front-end? "M-x gdb" in Emacs provides (if you type
"M-x gdb-many-windows RET") a separate buffer/window for interacting
with the inferior, but it depends on "set inferior-tty" working, which
in turn depends on Emacs communicating with subprocesses via ptys,
which doesn't work on Windows. So the only practical way I found to
debug interactive console programs is to set new-console ON, and use
the separate console created by that.
Thanks in advance for any hints, tricks, etc.