This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Emacs and GDB


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.
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]