[slime-devel] CVS slime
Tobias C. Rittweiler
tcr at freebits.de
Thu Mar 18 17:01:22 UTC 2010
Helmut Eller <heller at common-lisp.net> writes:
> * Tobias C. Rittweiler [2010-03-18 17:24+0100] writes:
>
>> Helmut Eller <heller at common-lisp.net> writes:
>>
>>> * CVS User trittweiler [2010-03-18 16:59+0100] writes:
>>>
>>>> Update of /project/slime/cvsroot/slime
>>>> In directory cl-net:/tmp/cvs-serv19810
>>>>
>>>> Modified Files:
>>>> ChangeLog slime.el
>>>> Log Message:
>>>> Add M-x slime-attach-gdb as an interactive function.
>>>>
>>>> The ATTACH-GDB restart is nice because it's convenient and the
>>>> backends can specify customized gdb configuration.
>>>
>>> Is there a technical reason that the restart must be there or is it a
>>> time limited advertising campaign?
>>
>> I use the restart in ECL where the Lisp backtrace is often not enough,
>> so I want to get at the C backtrace conveniently and quickly.
>
> It could be a key in sldb-mode-map.
>
>> Also the bit about enabling backends to specify default configuration is
>> handy so you get to a gdb prompt which is ready to use. In principle,
>> M-x slime-attach-gdb could send a request to the inferior Lisp but then
>> that would violate its lightweight purpose.
>
> Requesting the args for gdb is just as lightweight as invoking a
> restart. I would even say that it's simpler than invoking a restart
> which tells Emacs to start gud; the latter requires one more packet on
> the wire.
M-x slime-attach-gdb as of now does not involve any Swank request,
that's what I compared it, too.
Sldb shortcut sounds fine, too. Any recommendation? Both g and G seem to
be available. I'll make the the shortcut get the default config from the
inferior-lisp unless called with prefix arg.
-T.
More information about the slime-devel
mailing list