Mercurial > emacs
changeset 60124:106946a8423d
(gdb-set-gud-minor-mode-existing-buffers)
(gdb-find-file-hook): Add server prefix.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Wed, 16 Feb 2005 20:23:16 +0000 |
parents | f727e0368056 |
children | 7722b1983f28 |
files | lisp/progmodes/gdb-ui.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el Wed Feb 16 20:22:38 2005 +0000 +++ b/lisp/progmodes/gdb-ui.el Wed Feb 16 20:23:16 2005 +0000 @@ -219,7 +219,8 @@ (if file (progn (gdb-enqueue-input - (list (concat "list " (file-name-nondirectory file) ":1\n") + (list (concat gdb-server-prefix "list " + (file-name-nondirectory file) ":1\n") `(lambda () (gdb-set-gud-minor-mode ,buffer))))))))) (defun gdb-ann3 () @@ -2125,7 +2126,8 @@ (eq gud-minor-mode 'gdba))) (condition-case nil (gdb-enqueue-input - (list (concat "list " (file-name-nondirectory buffer-file-name) + (list (concat gdb-server-prefix "list " + (file-name-nondirectory buffer-file-name) ":1\n") `(lambda () (gdb-set-gud-minor-mode ,(current-buffer))))) (error (setq gdb-find-file-unhook t)))))