unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-emacs-windows@gnu.org, help-gnu-emacs@gnu.org
Subject: Re: Emacs gdb interface
Date: Wed, 21 Mar 2012 23:30:33 +0200	[thread overview]
Message-ID: <83bonp1w1y.fsf@gnu.org> (raw)
In-Reply-To: <CAH8Pv0g3Omh1M4U7Y--umWjmA0sanfF031j5f8Y9aEcmtdx4tg@mail.gmail.com>

> Date: Wed, 21 Mar 2012 21:09:52 +0100
> From: Dani Moncayo <dmoncayo@gmail.com>
> Cc: help-emacs-windows@gnu.org, help-gnu-emacs@gnu.org
> 
> -------- main.c -------------
> #include <stdio.h>
> 
> 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.



  reply	other threads:[~2012-03-21 21:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20 20:21 Emacs gdb interface Dani Moncayo
2012-03-21  2:58 ` Matt McClure
2012-03-21  7:33   ` Dani Moncayo
2012-03-21  7:50     ` Bob Proulx
2012-03-21  8:39       ` Dani Moncayo
2012-03-21  8:54         ` Alberto Luaces
2012-03-21  9:28         ` Bob Proulx
2012-03-21 10:26           ` Dani Moncayo
2012-03-21  8:28     ` Peter Dyballa
2012-03-21  8:43       ` Dani Moncayo
2012-03-21 18:51     ` Eli Zaretskii
2012-03-21 20:09       ` Dani Moncayo
2012-03-21 21:30         ` Eli Zaretskii [this message]
2012-03-21 10:53 ` Sergei Organov
2012-03-21 12:11   ` Dani Moncayo
2012-03-21 13:32     ` [h-e-w] " Doug Lewan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bonp1w1y.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-emacs-windows@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).