help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting gdb


From: Torsten Mueller
Subject: Re: Starting gdb
Date: Thu, 03 Sep 2009 12:10:00 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]