From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: hitt@eskimo.com (Dan Hitt) Newsgroups: gmane.emacs.help Subject: configuring gdb (gud) to start on a given file Date: 29 Mar 2005 09:24:52 GMT Organization: Eskimo North http://www.eskimo.com/ (800) 246-6874 Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112089903 4192 80.91.229.2 (29 Mar 2005 09:51:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2005 09:51:43 +0000 (UTC) Keywords: gdb, gud Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 29 11:51:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGDNq-0005uB-69 for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Mar 2005 11:51:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGDe6-000207-Fs for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Mar 2005 05:08:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!newsread.com!newsprint.newsread.com!63.218.45.11.MISMATCH!newshosting.com!nx02.iad01.newshosting.com!news-out.newsfeeds.com!news.eskimo.com!eskimo.com!hitt Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: eskimo.com Original-X-Trace: eskinews.eskimo.com 1112088292 3635 204.122.16.13 (29 Mar 2005 09:24:52 GMT) Original-X-Complaints-To: abuse@eskimo.com Original-NNTP-Posting-Date: 29 Mar 2005 09:24:52 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:129699 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25253 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25253 When i start gdb the first time in an emacs session, it prompts Run gdb (like this): gdb After running it once, it remembers what the previous executable. 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'm running 21.2.1, as distributed in Mac OSX, 10.3.2. Thanks in advance for any info, including pointers to info pages or man pages or FAQs. dan