From d4a0e41829e59a0067461dc066dbfb945f2fe462 Mon Sep 17 00:00:00 2001 From: Andrzej P Date: Mon, 6 Jan 2014 00:45:01 +0000 Subject: [PATCH] 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 --- lisp/progmodes/gdb-mi.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5