How can i get the gdb (gud) mode to either remember between emacs sessions, or set a default executable and/or gdb command in my .emacs file?
I don't think you can do this in 21.2 but in the "soon-to-be-released" Emacs 22 you can set or customise gud-gdb-command-name eg in your .emacs put:
(setq gud-gdb-command-name "gdb --annotate=3 /home/nick/myprog")
However this is not really how it is generally used because one day you might want to debug another program!
Nick
_______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs