]> git.eshelyaron.com Git - emacs.git/commitdiff
(gdb): Only complain about multiple debugging
authorAndreas Schwab <schwab@suse.de>
Sun, 26 Mar 2006 17:24:02 +0000 (17:24 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 26 Mar 2006 17:24:02 +0000 (17:24 +0000)
when the gdb process is still running.

lisp/ChangeLog
lisp/progmodes/gud.el

index 946b0858a07ef73ede2f63ef0048a6cc0c34df36..743509e3ad8703a5c5edec570a198a3362f6c4f6 100644 (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.
index 7fa5a0b6dcc695448b7430c4f8258704760e12b3..907a2e7c30012b1c146d0237045c02e8aeec20e4 100644 (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\""))