From 7f5d85faf734bd6199cfc9a40774a45961e5c706 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Mon, 31 Aug 2009 01:55:42 +0000 Subject: [PATCH] (gdb-threads-select): Ensure stack is redisplayed if user changes thread. --- lisp/progmodes/gdb-ui.el | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.39.5