You are not logged in.

#1 2010-03-18 08:00:22

htafer
Member
Registered: 2010-03-18
Posts: 1

Problem using ddd with emacs

Dear all,

I am using emacs in conjunction with ddd to debug C codes on  my laptop

I normally enter gdb commands on the tty in emacs, watch the position in the source code in emacs and look variable states in ddd.
For some reason I can not enter gdb command on emacs's tty. It is as if ddd would not receive them. But, in turn if I enter gdb commands directly in ddd, I do get a copy of the command and its output on emacs tty.

I call ddd like this:

ddd -fullname

I tried different alternative way to call ddd (--tty, --tty -fullname, --tty -fullname --gdb)

So I went through some test in order to track down the problem.

1) If I start ddd from a standard shell (gnome-terminal), I am able to send commands to ddd
2) In emacs if I use gdb instead of ddd, I am able to send commands to gdb through the tty

3) I copied the config file from my office machine, where the interplay between ddd and emacs works, but the communication problem between emacs and ddd remains.

emacs version is emacs-23.1-5
ddd version is  ddd-3.3.12-1


I currently have no idea on how to solve my problem.
Any idea ?


Best regards,

Hakim

Offline

Board footer

Powered by FluxBB