changeset 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 11b616eddda4
children b7e5e65bc6f2
files lisp/progmodes/gud.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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\""))