[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] GDB console input and output

From: Eli Zaretskii
Subject: Re: [h-e-w] GDB console input and output
Date: Mon, 04 Aug 2008 23:05:37 +0300

> From: Roland Telfeyan <address@hidden>
> Date: Sun, 3 Aug 2008 07:13:35 -0400
> Two problems -- any suggestions would be much appreciated:
> 1) GDB does not take input from the Emacs GUD buffer (or the *input/ 
> output* buffer). For example:
>      (gdb) <user command>
>      <GDB QUESTION> (y or n) [answered N; input not from terminal]
> 2) GDB does not put output to the Emacs GUD buffer (or the *input/ 
> output* buffer) until the program finishes. For example, after  
> stepping over printf("Hello\n"), nothing happens.
> Software versions:
> 1) GNU Emacs 22.2.1 (i386-mingw-nt5.2.3790)
> 2) GNU gdb 6.6 (i686-pc-mingw32)
> 3) GNU gcc (GCC) 3.4.5 (mingw special)
> 4) MS Windows XP Pro SP 3 or Server 2003 R2

I don't think I see such problems, using almost the same versions:

    GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
    GNU gdb 6.8 (i686-pc-mingw32)
    GNU gcc (GCC) 3.4.2 (mingw-special)
    MS Windows XP Home SP 2

Can you post a sample program, its compilation command line, and a GDB
session showing the commands you type and their results?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]