Re: Interactive behavior of GDB run from Emacs on Windows

Eli Zaretskii
2012-04-19T16:11:02Z

> Date: Thu, 19 Apr 2012 08:48:53 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb@sourceware.org
>
> 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

Thanks, it does.

Now I need to fix the manual, so the next time I will find this
stuff...