emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el
Date: Thu, 13 Apr 2006 01:38:24 +0000

Index: emacs/lisp/progmodes/gdb-ui.el
diff -u emacs/lisp/progmodes/gdb-ui.el:1.160 
emacs/lisp/progmodes/gdb-ui.el:1.161
--- emacs/lisp/progmodes/gdb-ui.el:1.160        Mon Apr 10 09:18:11 2006
+++ emacs/lisp/progmodes/gdb-ui.el      Thu Apr 13 01:38:24 2006
@@ -417,7 +417,8 @@
   (goto-char (point-min))
   (when (search-forward "read in on demand:" nil t)
     (while (re-search-forward gdb-source-file-regexp nil t)
-      (push (or (match-string 1) (match-string 2)) gdb-source-file-list))
+      (push (file-name-nondirectory (or (match-string 1) (match-string 2)))
+           gdb-source-file-list))
     (dolist (buffer (buffer-list))
       (with-current-buffer buffer
        (when (and buffer-file-name




reply via email to

[Prev in Thread] Current Thread [Next in Thread]