Mercurial > emacs
changeset 98067:72d94dcf4480
(gud-stop-subjob): Using jdb, suspend threads
with gud-stop-subjob rather than exit debugger.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Sun, 07 Sep 2008 00:52:54 +0000 |
parents | 2fe3f883f235 |
children | 9723eb0d11ab |
files | lisp/progmodes/gud.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gud.el Sun Sep 07 00:51:18 2008 +0000 +++ b/lisp/progmodes/gud.el Sun Sep 07 00:52:54 2008 +0000 @@ -139,7 +139,9 @@ (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)