aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej P2014-01-06 00:45:01 +0000
committerEli Zaretskii2019-06-26 19:14:25 +0300
commitd4a0e41829e59a0067461dc066dbfb945f2fe462 (patch)
treef8bb9c011d929d1ab5fe71ef1581d6719133bf1c
parent8123f8cf9f38610d32b799cb1dd8893b56fc8a47 (diff)
downloademacs-d4a0e41829e59a0067461dc066dbfb945f2fe462.tar.gz
emacs-d4a0e41829e59a0067461dc066dbfb945f2fe462.zip
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."
1933 ;; gdb-break-list is maintained in breakpoints handler 1933 ;; gdb-break-list is maintained in breakpoints handler
1934 (gdb-get-buffer-create 'gdb-breakpoints-buffer) 1934 (gdb-get-buffer-create 'gdb-breakpoints-buffer)
1935 1935
1936 (gdb-get-changed-registers)
1936 (unless no-proc 1937 (unless no-proc
1937 (gdb-emit-signal gdb-buf-publisher 'update)) 1938 (gdb-emit-signal gdb-buf-publisher 'update))
1938 1939
1939 (gdb-get-changed-registers)
1940 (when (and (boundp 'speedbar-frame) (frame-live-p speedbar-frame)) 1940 (when (and (boundp 'speedbar-frame) (frame-live-p speedbar-frame))
1941 (dolist (var gdb-var-list) 1941 (dolist (var gdb-var-list)
1942 (setcar (nthcdr 5 var) nil)) 1942 (setcar (nthcdr 5 var) nil))