]> git.eshelyaron.com Git - emacs.git/commitdiff
(gdb-threads-select): Ensure stack is
authorNick Roberts <nickrob@snap.net.nz>
Mon, 31 Aug 2009 01:55:42 +0000 (01:55 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Mon, 31 Aug 2009 01:55:42 +0000 (01:55 +0000)
redisplayed if user changes thread.

lisp/progmodes/gdb-ui.el

index 8071f7e4fd726f450ca02e2e69c8e0e0925a25c0..de28eeedbc1dc7fb0bd330d6f7cfbb2c6066b4ef 100644 (file)
@@ -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))