mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 00:00:39 -08:00
(gdb-set-gud-minor-mode-existing-buffers):
GDB 6.1+ gives full filename for "info sources" so use file-name-nondirectory.
This commit is contained in:
parent
25acaa6c71
commit
12c83f528c
1 changed files with 2 additions and 1 deletions
|
|
@ -417,7 +417,8 @@ With arg, use separate IO iff arg is positive."
|
|||
(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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue