(gud-stop-subjob): Using jdb, suspend threads

with gud-stop-subjob rather than exit debugger.
This commit is contained in:
Nick Roberts 2008-09-07 00:52:54 +00:00
parent 3021111652
commit 7c31db7fc9

View file

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