Emacs and GDB

Eli Zaretskii eliz@is.elta.co.il
Sat Nov 23 03:36:00 GMT 2002


> Date: Sat, 23 Nov 2002 11:33:54 GMT
> From: a2782@dis.ulpgc.es
> 
> Does anyone know how Emacs invokes GDB?

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