From xemacs-m  Mon Feb 10 15:37:23 1997
Received: from alphatech.com (erebus.alphatech.com [198.112.236.2])
	by xemacs.org (8.8.5/8.8.5) with SMTP id PAA13854
	for <xemacs-beta@xemacs.org>; Mon, 10 Feb 1997 15:37:15 -0600 (CST)
Received: from venus.alphatech.com by alphatech.com (4.1/SMI-4.1)
	id AA21207; Mon, 10 Feb 97 16:32:52 EST
Received: from pochacco.alphatech.com by venus.alphatech.com (4.1/SMI-4.1)
	id AA04614; Mon, 10 Feb 97 16:40:27 EST
Received: by pochacco.alphatech.com (SMI-8.6/SMI-SVR4)
	id QAA28544; Mon, 10 Feb 1997 16:31:30 -0500
Date: Mon, 10 Feb 1997 16:31:30 -0500
Message-Id: <199702102131.QAA28544@pochacco.alphatech.com>
From: greg@alphatech.com (Greg Klanderman)
To: xemacs-beta@xemacs.org (XEmacs beta list)
Subject: gdb patch
Reply-To: greg@alphatech.com



Well, I finally tracked down the bug where gdb no longer follows the
current directory so that completions are relative to the correct
directory.  It was setting some now obsolete variable to the
shell-directory-tracker filter.  The patch is below... against 19.15b4.


Greg



--- /home/greg/.backups/!home!greg!packages!xemacs-beta!xemacs-19.15-b4!lisp!comint!gdb.el.~2~	Thu Feb  6 12:41:49 1997
+++ gdb.el	Mon Feb 10 16:28:11 1997
@@ -265,7 +265,8 @@
   ;; XEmacs change:
   (make-local-hook 'kill-buffer-hook)
   (add-hook 'kill-buffer-hook 'gdb-delete-arrow-extent nil t)
-  (setq comint-input-sentinel 'shell-directory-tracker)
+  (add-hook 'comint-input-filter-functions 'shell-directory-tracker nil t) ;; -gk
+;  (setq comint-input-sentinel 'shell-directory-tracker)  ;; -gk
   (run-hooks 'gdb-mode-hook))
 
 (defun gdb-delete-arrow-extent ()

