[PLUG] debugging ncurses program within emacs
Carlos Konstanski
ckonstanski at pippiandcarlos.com
Sat Apr 24 23:53:10 UTC 2010
On 04/24/2010 05:46 PM, Carlos Konstanski wrote:
> I am trying to write an ncurses application in emacs. When I run it using
> M-x gdb, the output appears in an emacs buffer. But the buffer is useless
> when using ncurses.
>
> I would like to either have the output go to an external xterm, or have the
> emacs output buffer run under ansi-term. Either method would solve the
> ncurses display issue. Any suggestions for how to make emacs do this?
>
> Carlos
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
I found this, which works:
http://cdw.sourceforge.net/documentation/emacs_gdb_ncurses/emacs_gdb_ncurses.en.html
But it is a PITA to run all these gdb commands at the beginning of each
debugging session. Is there a nice hook in emacs where I can put this stuff,
or should I use .gdbinit? Thinking the latter is better.
Carlos
More information about the PLUG
mailing list