summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej P <andrzej@morgangilbert.co.uk>2014-01-06 00:45:01 +0000
committerEli Zaretskii <eliz@gnu.org>2019-06-26 19:14:25 +0300
commitd4a0e41829e59a0067461dc066dbfb945f2fe462 (patch)
treef8bb9c011d929d1ab5fe71ef1581d6719133bf1c
parent8123f8cf9f38610d32b799cb1dd8893b56fc8a47 (diff)
downloademacs-d4a0e41829e59a0067461dc066dbfb945f2fe462.tar.gz
Fix redisplay of registers in gdb-mi
* lisp/progmodes/gdb-mi.el (gdb-update): Call gdb-get-changed-registers before updating the GDB-MI buffers. (Bug#16366) Copyright-paperwork-exempt: yes
-rw-r--r--lisp/progmodes/gdb-mi.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 716f40c1f3a..15d47575c78 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -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))