Commit 2e78e6a7 authored by Jean-Philippe Gravel's avatar Jean-Philippe Gravel

* progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove

signals for which replies are never received.
parent 53267cca
2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
* progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove
signals for which replies are never received.
2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
* progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
......
......@@ -2376,8 +2376,7 @@ Sets `gdb-thread-number' to new id."
(propertize gdb-inferior-status 'face font-lock-type-face))
(when (not gdb-non-stop)
(setq gud-running t))
(setq gdb-active-process t)
(gdb-emit-signal gdb-buf-publisher 'update-threads))
(setq gdb-active-process t))
(defun gdb-starting (_output-field _result)
;; 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."
(gdb-force-mode-line-update
(propertize gdb-inferior-status 'face font-lock-type-face))
(setq gdb-active-process t)
(setq gud-running t)
;; GDB doesn't seem to respond to -thread-info before first stop or
;; thread exit (even in non-stop mode), so this is useless.
;; Behavior may change in the future.
(gdb-emit-signal gdb-buf-publisher 'update-threads))
(setq gud-running t))
;; -break-insert -t didn't give a reason before gdb 6.9
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment