From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31509 invoked by alias); 19 Apr 2012 15:49:23 -0000 Received: (qmail 31492 invoked by uid 22791); 19 Apr 2012 15:49:22 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Apr 2012 15:49:05 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 26D4C1C616D; Thu, 19 Apr 2012 11:49:04 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TtELvRYfkI7o; Thu, 19 Apr 2012 11:49:04 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id E7E081C616B; Thu, 19 Apr 2012 11:49:03 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 5298B145616; Thu, 19 Apr 2012 08:48:53 -0700 (PDT) Date: Thu, 19 Apr 2012 15:49:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: gdb@sourceware.org Subject: Re: Interactive behavior of GDB run from Emacs on Windows Message-ID: <20120419154853.GM25623@adacore.com> References: <83vckviv3b.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83vckviv3b.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00156.txt.bz2 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