From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Torsten Mueller Newsgroups: gmane.emacs.help Subject: Re: Starting gdb Date: Thu, 03 Sep 2009 12:10:00 +0200 Message-ID: References: <4a9f7add$0$30233$9b4e6d93@newsspool1.arcor-online.net> Reply-To: Urlicht@gmx.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251974510 16204 80.91.229.12 (3 Sep 2009 10:41:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2009 10:41:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 03 12:41:43 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mj9l8-0006U3-RT for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Sep 2009 12:41:43 +0200 Original-Received: from localhost ([127.0.0.1]:44499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mj9l6-0000Vj-DR for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Sep 2009 06:41:40 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-X-Trace: individual.net VigLBK1476I6MBJivOUZlgCUtXj7u3uPGbkuTbwOIBwK179g8= Cancel-Lock: sha1:9Tm4y1BUiNJEelUBEDAnXN54NZI= sha1:2wtNyN3wyU5BVQ4der0q+OHbQI0= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Original-Xref: news.stanford.edu gnu.emacs.help:172652 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:67790 Archived-At: Kay Ulbrich schrieb: > Are there functions, which enable me to write custom > Elisp-functions, which would do this in one turn, i.e., something > like > > M-x debug-myprog > > which then would start debugging the desired executable and set the > arguments. Many years ago I did this using a gdb-init file. I don't remember the exact name, look into gdb documentation, but I surely know that gdb reads a file in the current directory while starting up. This file can also contain paths to source files and much more. T.M.