This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Interactive behavior of GDB run from Emacs on Windows
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb at sourceware dot org
- Date: Thu, 19 Apr 2012 19:10:18 +0300
- Subject: Re: Interactive behavior of GDB run from Emacs on Windows
- References: <83vckviv3b.fsf@gnu.org> <20120419154853.GM25623@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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...