all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
Cc: help-gnu-emacs@gnu.org
Subject: configuring gdb (gud) to start on a given file
Date: Wed, 30 Mar 2005 10:59:37 +1200	[thread overview]
Message-ID: <4249DDD9.7090406@snap.net.nz> (raw)

> 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

             reply	other threads:[~2005-03-29 22:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-29 22:59 Nick Roberts [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

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

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

  git send-email \
    --in-reply-to=4249DDD9.7090406@snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.