"set inferior-tty" on MS-Windows

Eli Zaretskii eliz@gnu.org
Mon Aug 13 17:40:00 GMT 2012


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.



More information about the Gdb-patches mailing list