Re: Interactive behavior of GDB run from Emacs on Windows

Joel Brobecker
2012-04-19T15:49:23Z

On Thu, Apr 19, 2012 at 06:45:28PM +0300, Eli Zaretskii wrote:
> There's an annoying difference between GDB behavior when launched by
> Emacs GUD on Windows and on Posix platforms. AFAIU, the difference is
> explained by the fact that on Posix platforms the communications
> between Emacs and GDB are done via a pty, whereas on Windows Emacs
> uses pipes. Therefore, on Unix GDB behaves as if its standard handles
> were connected to a terminal, while on Windows it doesn't.

Try the following, I think it might help:

(gdb) set interactive-mode on

--
Joel