diff options
| author | Jean-Philippe Gravel | 2013-05-14 14:34:13 -0400 |
|---|---|---|
| committer | Jean-Philippe Gravel | 2013-05-14 14:34:13 -0400 |
| commit | 2e78e6a7949165d17081d375681393c5f9845dc6 (patch) | |
| tree | 8c2ee44cf01654f6dac1f37cf37ada0e3208f591 | |
| parent | 53267ccaa501b9ea2ff55555660d12082c461d65 (diff) | |
| download | emacs-2e78e6a7949165d17081d375681393c5f9845dc6.tar.gz emacs-2e78e6a7949165d17081d375681393c5f9845dc6.zip | |
* progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove
signals for which replies are never received.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-mi.el | 9 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d1c27acff24..4207866beb5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com> | 1 | 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com> |
| 2 | 2 | ||
| 3 | * progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove | ||
| 4 | signals for which replies are never received. | ||
| 5 | |||
| 6 | 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com> | ||
| 7 | |||
| 3 | * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845) | 8 | * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845) |
| 4 | (gdb-handler-alist, gdb-handler-number): Remove variables. | 9 | (gdb-handler-alist, gdb-handler-number): Remove variables. |
| 5 | (gdb-handler-list): New variable. | 10 | (gdb-handler-list): New variable. |
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 2799eecb553..a6ad5736576 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el | |||
| @@ -2376,8 +2376,7 @@ Sets `gdb-thread-number' to new id." | |||
| 2376 | (propertize gdb-inferior-status 'face font-lock-type-face)) | 2376 | (propertize gdb-inferior-status 'face font-lock-type-face)) |
| 2377 | (when (not gdb-non-stop) | 2377 | (when (not gdb-non-stop) |
| 2378 | (setq gud-running t)) | 2378 | (setq gud-running t)) |
| 2379 | (setq gdb-active-process t) | 2379 | (setq gdb-active-process t)) |
| 2380 | (gdb-emit-signal gdb-buf-publisher 'update-threads)) | ||
| 2381 | 2380 | ||
| 2382 | (defun gdb-starting (_output-field _result) | 2381 | (defun gdb-starting (_output-field _result) |
| 2383 | ;; CLI commands don't emit ^running at the moment so use gdb-running too. | 2382 | ;; CLI commands don't emit ^running at the moment so use gdb-running too. |
| @@ -2385,11 +2384,7 @@ Sets `gdb-thread-number' to new id." | |||
| 2385 | (gdb-force-mode-line-update | 2384 | (gdb-force-mode-line-update |
| 2386 | (propertize gdb-inferior-status 'face font-lock-type-face)) | 2385 | (propertize gdb-inferior-status 'face font-lock-type-face)) |
| 2387 | (setq gdb-active-process t) | 2386 | (setq gdb-active-process t) |
| 2388 | (setq gud-running t) | 2387 | (setq gud-running t)) |
| 2389 | ;; GDB doesn't seem to respond to -thread-info before first stop or | ||
| 2390 | ;; thread exit (even in non-stop mode), so this is useless. | ||
| 2391 | ;; Behavior may change in the future. | ||
| 2392 | (gdb-emit-signal gdb-buf-publisher 'update-threads)) | ||
| 2393 | 2388 | ||
| 2394 | ;; -break-insert -t didn't give a reason before gdb 6.9 | 2389 | ;; -break-insert -t didn't give a reason before gdb 6.9 |
| 2395 | 2390 | ||