From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matt McClure Newsgroups: gmane.emacs.help,gmane.emacs.windows Subject: Re: Emacs gdb interface Date: Tue, 20 Mar 2012 22:58:48 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae934125374798f04bbb7f8c9 X-Trace: dough.gmane.org 1332298766 16306 80.91.229.3 (21 Mar 2012 02:59:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2012 02:59:26 +0000 (UTC) Cc: help-emacs-windows@gnu.org, help-gnu-emacs@gnu.org To: Dani Moncayo Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 21 03:59:25 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 1SABlh-000064-DG for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 03:59:21 +0100 Original-Received: from localhost ([::1]:40473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SABlg-00029B-Iw for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 22:59:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SABlW-000290-EI for help-gnu-emacs@gnu.org; Tue, 20 Mar 2012 22:59:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SABlQ-0005w2-9f for help-gnu-emacs@gnu.org; Tue, 20 Mar 2012 22:59:09 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:36401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SABlE-0005um-5k; Tue, 20 Mar 2012 22:58:52 -0400 Original-Received: by iajr24 with SMTP id r24so1097108iaj.0 for ; Tue, 20 Mar 2012 19:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=43hpKdwdcM+lsZZaP6GPNeR3rVNroq7CK6aGd2v4cyI=; b=FYEIyExDogxWLKuDk131SN3Bok56tHS1VuARz7gcHMAKixzWtzwsczNKYJqxS1d8Kr EkQ7hhjnZKmHSITDEkL0HoDxMwdyzS6vmWKOccDO0fmTkmSPOlb8CS8rvg/wLMqqemAK PH6ulOS2moYCfMvz8h724deLvIugnSsxJ1CVohdhD2tA/0Yt+ioqWpNYjwDSYFj1e2Ta tQvOD10lCWAjXRprACCcRRsDTkYCAzk6s4gjhmdENiQ6I6cljn/0doVZYQmA5WmGIVLm Dcw++kOHyXDbHrbSTBb3O+Bnn3hv3Vxv2rOBdARUTwmsNJ8S0eM1cBKL/0Gv/hkKCXqG Q3uQ== Original-Received: by 10.50.216.136 with SMTP id oq8mr10537590igc.63.1332298728634; Tue, 20 Mar 2012 19:58:48 -0700 (PDT) Original-Received: by 10.50.237.2 with HTTP; Tue, 20 Mar 2012 19:58:48 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 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:84055 gmane.emacs.windows:5309 Archived-At: --14dae934125374798f04bbb7f8c9 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Mar 20, 2012 at 4:21 PM, Dani Moncayo wrote: > 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). > Just a guess: There is no newline in the intended output, so perhaps the output isn't flushed yet. Does it appear if you step through the rest of the program? -- Matt McClure http://www.matthewlmcclure.com http://www.mapmyfitness.com/profile/matthewlmcclure --14dae934125374798f04bbb7f8c9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Mar 20, 2012 at 4:21 PM, Dani Moncayo <dmoncayo@gmail.co= m> wrote:
At this point, the *input/output of p1.exe* buffer should show the
"hello, world!" message written to the standard output, right? = =A0But I
observe that the buffer remains empty (see attached screenshot).

Just a guess:

There is n= o newline in the intended output, so perhaps the output isn't flushed y= et. Does it appear if you step through the rest of the program?
=A0
--
Matt McClure
http://www.matthewlmcclure.com
= http://www.mapmyfitness.com/profile/matthewlmcclure

--14dae934125374798f04bbb7f8c9--