From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergei Organov Newsgroups: gmane.emacs.help,gmane.emacs.windows Subject: Re: Emacs gdb interface Date: Wed, 21 Mar 2012 14:53:59 +0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1332330918 4388 80.91.229.3 (21 Mar 2012 11:55:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2012 11:55:18 +0000 (UTC) Cc: help-emacs-windows@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 21 12:55:17 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1SAK8J-00061I-To for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 12:55:16 +0100 Original-Received: from localhost ([::1]:44888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAK8J-0002Zx-Cl for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 07:55:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAJBg-00066o-1Y for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 06:54:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAJBZ-0000Be-8P for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 06:54:39 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAJBZ-0000B7-1i for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 06:54:33 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SAJBW-00064D-H2 for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 11:54:30 +0100 Original-Received: from 89.175.180.246 ([89.175.180.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Mar 2012 11:54:30 +0100 Original-Received: from osv by 89.175.180.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Mar 2012 11:54:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 89.175.180.246 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84066 gmane.emacs.windows:5317 Archived-At: Dani Moncayo writes: > Hello Emacs, > > I'm trying to test the Emacs gdb interface, but there is something I > don't yet understand. > > This is my setup: > * OS: MS-Windows 7. > * Development Environment: MinGW. > > I've done this: > * I've written a "hello world" program [1]. > * I've compiled it. > * I've tested the executable (p1.exe), and it works fine. > > Now, from my Emacs (almost latest trunk) I've done: > * M-x gdb RET (the default command was "gdb -i=mi p1.exe") > * b main RET > * run RET > * M-x gdb-many-windows RET > * n RET > > At this point, the *input/output of p1.exe* buffer should show the > "hello, world!" message written to the standard output, right? But I > observe that the buffer remains empty (see attached screenshot). > > Probably I'm missing something here. Do you know what? Did you try to run it under bare gdb (without Emacs)? If the problem remains, it's gdb issue rather than Emacs one. -- Sergei.