diff options
| author | Nick Roberts | 2008-09-07 00:52:54 +0000 |
|---|---|---|
| committer | Nick Roberts | 2008-09-07 00:52:54 +0000 |
| commit | 7c31db7fc94bdde44e34590e870238975e295827 (patch) | |
| tree | 0d1c8f16d0347ccaa84be8eb1d7a4a03d6a824b4 | |
| parent | 3021111652cc4f91f8f26b4c34a7aba1ef1070c5 (diff) | |
| download | emacs-7c31db7fc94bdde44e34590e870238975e295827.tar.gz emacs-7c31db7fc94bdde44e34590e870238975e295827.zip | |
(gud-stop-subjob): Using jdb, suspend threads
with gud-stop-subjob rather than exit debugger.
| -rw-r--r-- | lisp/progmodes/gud.el | 4 |
1 files changed, 3 insertions, 1 deletions
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.") | |||
| 139 | (with-current-buffer gud-comint-buffer | 139 | (with-current-buffer gud-comint-buffer |
| 140 | (if (string-equal gud-target-name "emacs") | 140 | (if (string-equal gud-target-name "emacs") |
| 141 | (comint-stop-subjob) | 141 | (comint-stop-subjob) |
| 142 | (comint-interrupt-subjob)))) | 142 | (if (eq gud-minor-mode 'jdb) |
| 143 | (gud-call "suspend") | ||
| 144 | (comint-interrupt-subjob))))) | ||
| 143 | 145 | ||
| 144 | (easy-mmode-defmap gud-menu-map | 146 | (easy-mmode-defmap gud-menu-map |
| 145 | '(([help] "Info (debugger)" . gud-goto-info) | 147 | '(([help] "Info (debugger)" . gud-goto-info) |