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

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

Starting gdb


From: Kay Ulbrich
Subject: Starting gdb
Date: Thu, 03 Sep 2009 10:14:23 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Hello,

I have a question concerning gdb under Emacs. When debugging, I do the
normal thing, i.e.,

        M-x gdb

and then enter the executable name. After this, in the gdb window, I can
set arguments with the gdb-command "set args".

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.

Thus one could write an Elisp-function for frequently needed executables
and argument list combinations.

Thanks for hints!

Kay



reply via email to

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