From: Jean-Philippe Gravel Date: Tue, 14 May 2013 18:34:13 +0000 (-0400) Subject: * progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~229^2~84 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2e78e6a7949165d17081d375681393c5f9845dc6;p=emacs.git * progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove signals for which replies are never received. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d1c27acff24..4207866beb5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-05-14 Jean-Philippe Gravel + + * progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove + signals for which replies are never received. + 2013-05-14 Jean-Philippe Gravel * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845) 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." (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