From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.windows,gmane.emacs.help Subject: Re: Emacs gdb interface Date: Wed, 21 Mar 2012 23:30:33 +0200 Message-ID: <83bonp1w1y.fsf@gnu.org> References: <83ehsl23fa.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1332365449 3587 80.91.229.3 (21 Mar 2012 21:30:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2012 21:30:49 +0000 (UTC) To: help-emacs-windows@gnu.org, help-gnu-emacs@gnu.org Original-X-From: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Wed Mar 21 22:30:49 2012 Return-path: Envelope-to: gnu-help-emacs-windows@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SAT7I-0001Y8-7B for gnu-help-emacs-windows@m.gmane.org; Wed, 21 Mar 2012 22:30:48 +0100 Original-Received: from localhost ([::1]:46670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAT7H-00020N-Ho for gnu-help-emacs-windows@m.gmane.org; Wed, 21 Mar 2012 17:30:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAT7C-00020I-7E for help-emacs-windows@gnu.org; Wed, 21 Mar 2012 17:30:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAT7A-0004KT-0G for help-emacs-windows@gnu.org; Wed, 21 Mar 2012 17:30:41 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:45526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAT79-0004KF-OM; Wed, 21 Mar 2012 17:30:39 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M19007007QIAL00@a-mtaout23.012.net.il>; Wed, 21 Mar 2012 23:30:28 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.0.19]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M19007C17QR8170@a-mtaout23.012.net.il>; Wed, 21 Mar 2012 23:30:28 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: help-emacs-windows@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion forum for users of the GNU Emacs port to Windows List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Original-Sender: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.windows:5321 gmane.emacs.help:84082 Archived-At: > Date: Wed, 21 Mar 2012 21:09:52 +0100 > From: Dani Moncayo > Cc: help-emacs-windows@gnu.org, help-gnu-emacs@gnu.org > > -------- main.c ------------- > #include > > int main(void) > { > printf("hello, world!\n"); > fflush(stdout); > return 0; > } > ----------------------------- > > The output should not be shown in the *gud* buffer (as happens now), > but in the *input/output* one, no? If not, what's that *input/output* > buffer for? I suspect that whatever tricks gdb-mi.el uses to separate the program's output from GDB's simply doesn't work on Windows. But that's a guess, I didn't have time to dig into this.