all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Torsten Mueller <dev-null@shared-files.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Starting gdb
Date: Thu, 03 Sep 2009 12:10:00 +0200	[thread overview]
Message-ID: <u4ork9w5j.fsf@shared-files.de> (raw)
In-Reply-To: 4a9f7add$0$30233$9b4e6d93@newsspool1.arcor-online.net

Kay Ulbrich <kay_ulbrich@arcor.de> 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.


  reply	other threads:[~2009-09-03 10:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03  8:14 Starting gdb Kay Ulbrich
2009-09-03 10:10 ` Torsten Mueller [this message]
2009-09-03 10:27   ` Kay Ulbrich
2009-09-03 12:37     ` Colin S. Miller
2009-09-03 16:04       ` Kay Ulbrich

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=u4ork9w5j.fsf@shared-files.de \
    --to=dev-null@shared-files.de \
    --cc=Urlicht@gmx.net \
    --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.