Emacs and GDB

a2782@dis.ulpgc.es a2782@dis.ulpgc.es
Sat Nov 23 03:59:00 GMT 2002


Any idea about how can I do this emacs-style invocation in (Kylix) C++? 
I want to execute GDB and redirect its input to the output of my 
program in C++ (in order to send commands to GDB); and its output to 
the input of my C++ program (in order to parse the information which 
GDB returns).

Thanks to all people who are replying me!

> Emacs calls GDB like this:
>
>       gdb -fullname <args...>
>
> where \"<args...>\" is whatever you type at \"M-x gdb\"\'s prompt.
>
> In other words, if you tell Emacs to invoke GDB with \"gdb myprog\",
> Emacs invokes \"gdb -fullname myprog\".
>
> See gud.el in the Emacs distribution for more details, and see the GDB
> user manual for the description of the -fullname option.
> 



More information about the Gdb mailing list