[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emacs gdb interface
From: |
Dani Moncayo |
Subject: |
Emacs gdb interface |
Date: |
Tue, 20 Mar 2012 21:21:42 +0100 |
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
img-1.png
Description: PNG image
- Emacs gdb interface,
Dani Moncayo <=
- Re: Emacs gdb interface, Matt McClure, 2012/03/20
- Re: Emacs gdb interface, Dani Moncayo, 2012/03/21
- Re: Emacs gdb interface, Bob Proulx, 2012/03/21
- Re: Emacs gdb interface, Dani Moncayo, 2012/03/21
- Re: Emacs gdb interface, Alberto Luaces, 2012/03/21
- Re: Emacs gdb interface, Bob Proulx, 2012/03/21
- Re: Emacs gdb interface, Dani Moncayo, 2012/03/21
- Re: Emacs gdb interface, Peter Dyballa, 2012/03/21
- Re: Emacs gdb interface, Dani Moncayo, 2012/03/21
- Re: [h-e-w] Emacs gdb interface, Eli Zaretskii, 2012/03/21