From: Nick Roberts Date: Mon, 31 Aug 2009 01:55:42 +0000 (+0000) Subject: (gdb-threads-select): Ensure stack is X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7f5d85faf734bd6199cfc9a40774a45961e5c706;p=emacs.git (gdb-threads-select): Ensure stack is redisplayed if user changes thread. --- diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 8071f7e4fd7..de28eeedbc1 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -2594,6 +2594,7 @@ another GDB command e.g pwd, to see new frames") "Select the thread and display the relevant source." (interactive (list last-input-event)) (if event (posn-set-point (event-end event))) + (setq gdb-stack-update t) (gdb-enqueue-input (list (concat gdb-server-prefix "thread " (gdb-get-thread-number) "\n") 'ignore))