This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Emacs and GDB
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- To: a2782 at dis dot ulpgc dot es
- Cc: gdb at sources dot redhat dot com
- Date: Sat, 23 Nov 2002 13:35:46 +0300
- Subject: Re: Emacs and GDB
- References: <200211231133.gANBXsA06590@siglo21.dis.ulpgc.es>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> 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.