From 2e78e6a7949165d17081d375681393c5f9845dc6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Gravel Date: Tue, 14 May 2013 14:34:13 -0400 Subject: [PATCH] * progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove signals for which replies are never received. --- lisp/ChangeLog | 5 +++++ 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,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 -- 2.39.2