aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorAndreas Schwab2006-03-26 17:24:02 +0000
committerAndreas Schwab2006-03-26 17:24:02 +0000
commitd6e4b78595c5b91c25ebdd66adb42da37befc445 (patch)
treeac1132ab01723b8f379c095f4c114fd1c2c0d8b7 /lisp/progmodes
parentb223e22d0a5263654ab273955a07246d2f4fcf57 (diff)
downloademacs-d6e4b78595c5b91c25ebdd66adb42da37befc445.tar.gz
emacs-d6e4b78595c5b91c25ebdd66adb42da37befc445.zip
(gdb): Only complain about multiple debugging
when the gdb process is still running.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/gud.el1
1 files changed, 1 insertions, 0 deletions
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
683 683
684 (if (and gud-comint-buffer 684 (if (and gud-comint-buffer
685 (buffer-name gud-comint-buffer) 685 (buffer-name gud-comint-buffer)
686 (get-buffer-process gud-comint-buffer)
686 (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba))) 687 (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba)))
687 (error "Multiple debugging is only supported with \"gdb --fullname\"")) 688 (error "Multiple debugging is only supported with \"gdb --fullname\""))
688 689