From: Dani Moncayo <dmoncayo@gmail.com>
To: help-gnu-emacs@gnu.org, help-emacs-windows@gnu.org
Subject: Emacs gdb interface
Date: Tue, 20 Mar 2012 21:21:42 +0100 [thread overview]
Message-ID: <CAH8Pv0iGV2axC=KTeGt=jEjN7CVzONvLaNpXVPYbBUC+uegEhA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 991 bytes --]
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?
TIA.
--- Footnotes ----------------------------------
[1] My program:
------------- main.c ---------------
#include <stdio.h>
int main(void)
{
printf("hello, world!");
return 0;
}
------------------------------------
--
Dani Moncayo
[-- Attachment #2: img-1.png --]
[-- Type: image/png, Size: 47575 bytes --]
next reply other threads:[~2012-03-20 20:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-20 20:21 Dani Moncayo [this message]
2012-03-21 2:58 ` Emacs gdb interface 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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH8Pv0iGV2axC=KTeGt=jEjN7CVzONvLaNpXVPYbBUC+uegEhA@mail.gmail.com' \
--to=dmoncayo@gmail.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.