From: Richard M. Stallman Date: Wed, 23 Oct 2002 17:23:47 +0000 (+0000) Subject: (gud-gdb-massage-args): Pass default-directory to gdb. X-Git-Tag: emacs-pretest-21.2.92~11 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1350550f6f0bad3b028dcda81bbdb8c2442d5f88;p=emacs.git (gud-gdb-massage-args): Pass default-directory to gdb. --- diff --git a/lisp/gud.el b/lisp/gud.el index b582a6c6df9..6a44bfbf05f 100644 --- a/lisp/gud.el +++ b/lisp/gud.el @@ -307,7 +307,8 @@ off the specialized speedbar mode." (defvar gud-gdb-history nil) (defun gud-gdb-massage-args (file args) - (cons "-fullname" args)) + (cons "-cd" (cons (expand-file-name default-directory) + (cons "-fullname" args)))) (defvar gud-gdb-marker-regexp ;; This used to use path-separator instead of ":";