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

"set inferior-tty" on MS-Windows


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.


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