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

Re: Interactive behavior of GDB run from Emacs on Windows


> 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...


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