Mercurial > emacs
diff lisp/progmodes/gud.el @ 69682:99bce5a59fbf
(gdb): Only complain about multiple debugging
when the gdb process is still running.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Sun, 26 Mar 2006 17:23:49 +0000 |
parents | 64cdad743e23 |
children | e6c80fdc0101 e6bf73e43cf4 |
line wrap: on
line diff
--- a/lisp/progmodes/gud.el Sat Mar 25 23:15:32 2006 +0000 +++ b/lisp/progmodes/gud.el Sun Mar 26 17:23:49 2006 +0000 @@ -683,6 +683,7 @@ (if (and gud-comint-buffer (buffer-name gud-comint-buffer) + (get-buffer-process gud-comint-buffer) (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba))) (error "Multiple debugging is only supported with \"gdb --fullname\""))