unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: hitt@eskimo.com (Dan Hitt)
Subject: Re: configuring gdb (gud) to start on a given file
Date: 30 Mar 2005 09:50:15 GMT	[thread overview]
Message-ID: <d2dson$m4j$1@eskinews.eskimo.com> (raw)
In-Reply-To: 3au2dtF62lgmdU1@individual.net

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 <3au2dtF62lgmdU1@individual.net>,
Kevin Rodgers  <ihs_4664@yahoo.com> 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.

  reply	other threads:[~2005-03-30  9:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-29  9:24 configuring gdb (gud) to start on a given file Dan Hitt
2005-03-29 22:16 ` Kevin Rodgers
2005-03-30  9:50   ` Dan Hitt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-29 22:59 Nick Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='d2dson$m4j$1@eskinews.eskimo.com' \
    --to=hitt@eskimo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).