Hi Kevin and Nick,
Thanks for the advice on how to proceed. Kevin's method works,
and no doubt Nick's will in emacs 22. (And i do run gdb on
lots of programs, but i've had to do it a great deal on this
program whose path is very long.)
dan
In article <[EMAIL PROTECTED]>,
Kevin Rodgers <[EMAIL PROTECTED]> wrote:
> > 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?
>(setq gud-gdb-history '("gdb /path/to/default/executable"))
>
>`C-h f gdb RET', then click on the `gud' library; you'll see that it
>calls (gud-query-cmdline 'gdb) to read its arguments, and that the
>default is the first element of the (gud-symbol 'history nil 'gdb)
>symbol's value.
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs