diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 946b0858a07..743509e3ad8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-03-26 Andreas Schwab + + * progmodes/gud.el (gdb): Only complain about multiple debugging + when the gdb process is still running. + 2006-03-25 Eli Zaretskii * mail/rmail.el (tool-bar-map): Defvar it. diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 7fa5a0b6dcc..907a2e7c300 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -683,6 +683,7 @@ To run GDB in text command mode, set `gud-gdb-command-name' to (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\""))