[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gud.el gdb --cd and libtool
From: |
Simon Josefsson |
Subject: |
Re: gud.el gdb --cd and libtool |
Date: |
Sun, 10 Nov 2002 12:23:15 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.92 (i686-pc-linux-gnu) |
Richard Stallman <address@hidden> writes:
> Does this change fix it?
>
> *** gud.el.~1.161.~ Mon Oct 21 15:26:25 2002
> --- gud.el Sat Nov 9 05:53:52 2002
> ***************
> *** 406,413 ****
> (interactive (list (gud-query-cmdline 'gdb)))
>
> (gud-common-init command-line
> ! #'(lambda (file args)
> ! `("-cd" ,(expand-file-name default-directory) . ,args))
> 'gud-gdb-marker-filter 'gud-gdb-find-file)
> (set (make-local-variable 'gud-minor-mode) 'gdb)
>
> --- 406,412 ----
> (interactive (list (gud-query-cmdline 'gdb)))
>
> (gud-common-init command-line
> ! #'(lambda (file args) args)
> 'gud-gdb-marker-filter 'gud-gdb-find-file)
> (set (make-local-variable 'gud-minor-mode) 'gdb)
I think this works, but it seems cleaner to replace #'(lambda (file
args) args) with nil as it was before the patch.