From 1350550f6f0bad3b028dcda81bbdb8c2442d5f88 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 23 Oct 2002 17:23:47 +0000 Subject: [PATCH] (gud-gdb-massage-args): Pass default-directory to gdb. --- lisp/gud.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ":"; -- 2.39.2