]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix redisplay of registers in gdb-mi
authorAndrzej P <andrzej@morgangilbert.co.uk>
Mon, 6 Jan 2014 00:45:01 +0000 (00:45 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 26 Jun 2019 16:14:25 +0000 (19:14 +0300)
* lisp/progmodes/gdb-mi.el (gdb-update): Call
gdb-get-changed-registers before updating the GDB-MI buffers.
(Bug#16366)

Copyright-paperwork-exempt: yes

lisp/progmodes/gdb-mi.el

index 716f40c1f3aa20ca18bbc0c671f7fd8d98058367..15d47575c7847b9b3665bf6470cab3f6c1460fd6 100644 (file)
@@ -1933,10 +1933,10 @@ If NO-PROC is non-nil, do not try to contact the GDB process."
   ;; gdb-break-list is maintained in breakpoints handler
   (gdb-get-buffer-create 'gdb-breakpoints-buffer)
 
+  (gdb-get-changed-registers)
   (unless no-proc
     (gdb-emit-signal gdb-buf-publisher 'update))
 
-  (gdb-get-changed-registers)
   (when (and (boundp 'speedbar-frame) (frame-live-p speedbar-frame))
     (dolist (var gdb-var-list)
       (setcar (nthcdr 5 var) nil))