summaryrefslogtreecommitdiff
path: root/lisp/progmodes/gdb-mi.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2011-12-28 16:57:14 +0900
committerKenichi Handa <handa@m17n.org>2011-12-28 16:57:14 +0900
commitd23ab8e8726ecb7e3554644857b4a58e5f7408f1 (patch)
treeba4fe863ba0f86637e7549cc07314b564f9095bc /lisp/progmodes/gdb-mi.el
parent0e5317f7e42c1008c40305a94afcdff509a475be (diff)
parent8d80ef01d987f052dc8ee641cc65189299e230de (diff)
downloademacs-d23ab8e8726ecb7e3554644857b4a58e5f7408f1.tar.gz
emacs-d23ab8e8726ecb7e3554644857b4a58e5f7408f1.tar.bz2
emacs-d23ab8e8726ecb7e3554644857b4a58e5f7408f1.zip
merge trunk
Diffstat (limited to 'lisp/progmodes/gdb-mi.el')
-rw-r--r--lisp/progmodes/gdb-mi.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 128ff4bb143..1c38c59bba6 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -3787,9 +3787,7 @@ is set in them."
(dolist (buffer (buffer-list))
(with-current-buffer buffer
(when (member buffer-file-name gdb-source-file-list)
- (gdb-init-buffer))))
- (gdb-force-mode-line-update
- (propertize "ready" 'face font-lock-variable-name-face)))
+ (gdb-init-buffer)))))
(defun gdb-get-main-selected-frame ()
"Trigger for `gdb-frame-handler' which uses main current
@@ -4128,7 +4126,9 @@ buffers, if required."
(gdb-get-buffer-create 'gdb-breakpoints-buffer)
(if (and gdb-show-main gdb-main-file)
(let ((pop-up-windows t))
- (display-buffer (gud-find-file gdb-main-file))))))
+ (display-buffer (gud-find-file gdb-main-file)))))
+ (gdb-force-mode-line-update
+ (propertize "ready" 'face font-lock-variable-name-face)))
;;from put-image
(defun gdb-put-string (putstring pos &optional dprop &rest sprops)