(gdb): Only complain about multiple debugging

when the gdb process is still running.
This commit is contained in:
Andreas Schwab 2006-03-26 17:24:02 +00:00
parent b223e22d0a
commit d6e4b78595
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-03-26 Andreas Schwab <schwab@suse.de>
* progmodes/gud.el (gdb): Only complain about multiple debugging
when the gdb process is still running.
2006-03-25 Eli Zaretskii <eliz@gnu.org>
* mail/rmail.el (tool-bar-map): Defvar it.

View file

@ -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\""))