all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs gdb interface
@ 2012-03-20 20:21 Dani Moncayo
  2012-03-21  2:58 ` Matt McClure
  2012-03-21 10:53 ` Sergei Organov
  0 siblings, 2 replies; 16+ messages in thread
From: Dani Moncayo @ 2012-03-20 20:21 UTC (permalink / raw)
  To: help-gnu-emacs, help-emacs-windows

[-- 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 --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-03-21 21:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-03-21 10:53 ` Sergei Organov
2012-03-21 12:11   ` Dani Moncayo
2012-03-21 13:32     ` [h-e-w] " Doug Lewan

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.