From: Nick Roberts Date: Sun, 7 Sep 2008 00:52:54 +0000 (+0000) Subject: (gud-stop-subjob): Using jdb, suspend threads X-Git-Tag: emacs-pretest-23.0.90~2979 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c31db7fc94bdde44e34590e870238975e295827;p=emacs.git (gud-stop-subjob): Using jdb, suspend threads with gud-stop-subjob rather than exit debugger. --- diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 00afda923eb..4e56383f3a4 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -139,7 +139,9 @@ Used to grey out relevant toolbar icons.") (with-current-buffer gud-comint-buffer (if (string-equal gud-target-name "emacs") (comint-stop-subjob) - (comint-interrupt-subjob)))) + (if (eq gud-minor-mode 'jdb) + (gud-call "suspend") + (comint-interrupt-subjob))))) (easy-mmode-defmap gud-menu-map '(([help] "Info (debugger)" . gud-goto-info)